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