IncomingException

data class IncomingException(version: String?, data: IncomingException.Data, error: Boolean?, account: String?) : ClientMessageWrapper

An incoming message representing an exception that can be sent by signald corresponding to one of the documented error types in the protocol.

Constructors

Link copied to clipboard
fun IncomingException(version: String? = null, data: IncomingException.Data, error: Boolean? = false, account: String? = null)

Types

Link copied to clipboard
data class Data(typedException: TypedExceptionV1) : ClientMessageWrapper.Data

Properties

Link copied to clipboard
open override val account: String? = null

the account this message is from

Link copied to clipboard
open override val data: IncomingException.Data

the incoming object. The structure will vary from message to message, see type and version fields

Link copied to clipboard
open override val error: Boolean? = false

true if the incoming message represents an error

Link copied to clipboard
val typedException: TypedExceptionV1
Link copied to clipboard
open override val version: String? = null

the version of the object in the data field