The current error, if any, that caused the connection to enter the current status.
The current status of the connection.
Registers a listener that will be called whenever the connection status changes.
The function to call when the status changes.
An object that can be used to unregister the listener.
Represents a connection to Ably.