BusErrorReason

sealed class BusErrorReason

The possible underlying reasons a BusError error occurs.

Constructors

Link copied to clipboard
protected fun BusErrorReason()

Types

Link copied to clipboard
object OpenStreamFailed : DittoError.BusErrorReason

Failed to open a stream to the requested peer.

Link copied to clipboard
object QueueFull : DittoError.BusErrorReason

Bus message cannot be sent as the queue is full.

Link copied to clipboard
object ReliablePayloadTooLarge : DittoError.BusErrorReason

Bus message cannot be sent as the payload is too large (max 1 MB)

Link copied to clipboard
object SendBeforeCompletion : DittoError.BusErrorReason

Sent a bus message with the same destination/reliability before the previous send completed.

Link copied to clipboard
object SendFailed : DittoError.BusErrorReason

Failed to send bus message.

Link copied to clipboard
object StreamClosedByLocal : DittoError.BusErrorReason

The local peer closed this DittoBusStream.

Link copied to clipboard
object StreamClosedByRemote : DittoError.BusErrorReason

The remote peer closed this DittoBusStream.

Link copied to clipboard
object StreamFailed : DittoError.BusErrorReason

This DittoBusStream closed due to a communication failure.

Link copied to clipboard
object UnreliablePayloadTooLarge : DittoError.BusErrorReason

Bus message cannot be sent as the payload is too large (max 128 kB)

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard