BusErrorReason
public enum BusErrorReason
The possible underlying reasons for errors with the Bus API.
-
Sent a bus message with the same destination/reliability before the previous send completed.
Declaration
Swift
case busSendBeforeCompletion -
Failed to send bus message.
Declaration
Swift
case failedToSendBusMessage -
Failed to open a stream to the requested peer.
Declaration
Swift
case failedToOpenBusStream -
Bus message cannot be sent as the payload is too large (max 1 MB)
Declaration
Swift
case reliablePayloadTooLarge -
The local peer closed this BusStream.
Declaration
Swift
case streamClosedByLocal -
The remote peer closed this BusStream.
Declaration
Swift
case streamClosedByRemote -
This BusStream closed due to a communication failure.
Declaration
Swift
case streamFailed -
Bus message cannot be sent as the queue is full.
Declaration
Swift
case queueFull -
Bus message cannot be sent as the payload is too large (max 128 kB)
Declaration
Swift
case unreliablePayloadTooLarge