ExceptionWrapper
data class ExceptionWrapper(version: String?, data: ExceptionWrapper.Data, error: Boolean?, account: String?) : ClientMessageWrapper
Content copied to clipboard
An incoming message representing an error that can be sent by signald after a v1 subscribe request. This is not documented in the client protocol; however, as the signald socket can send it anyway, we add this here for type safety purposes.
Example: { "type":"ExceptionWrapper", "version":"v1", "data":{"message":"org.signal.libsignal.metadata.ProtocolDuplicateMessageException"}, "error":true }
Constructors
Link copied to clipboard
fun ExceptionWrapper(version: String? = null, data: ExceptionWrapper.Data, error: Boolean? = true, account: String? = null)
Content copied to clipboard
Types
Link copied to clipboard
data class Data(message: String?, unexpected: Boolean?) : ClientMessageWrapper.Data
Content copied to clipboard