Exception Wrapper
data class ExceptionWrapper(version: String?, data: ExceptionWrapper.Data, error: Boolean?) : 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
ExceptionWrapper
Link copied to clipboard
fun ExceptionWrapper(version: String? = null, data: ExceptionWrapper.Data, error: Boolean? = false)
Content copied to clipboard
Types
Data
Link copied to clipboard
data class Data(message: String?, unexpected: Boolean?) : ClientMessageWrapper.Data
Content copied to clipboard