Error
public enum Error : Swift.Error
Represents error types thrown or passed by EventBus methods.
-
Indicates that a given
JSON
object can’t be converted to json text.Declaration
Swift
case invalidData(data: JSON)
Parameters
data
the offending data object
-
Indicates an error from the bridge server
Declaration
Swift
case serverError(message: String)
Parameters
message
the error message returned by the server
-
Indicates that the client is now in a disconnected state
Declaration
Swift
case disconnected(cause: Swift.Error?)
Parameters
cause
the (optional) underlying cause for the disconnect