OptionalcauseThe underlying cause of the error, where applicable.
Ably error code.
OptionaldetailOptional map of string key-value pairs containing structured metadata associated with the error.
Additional message information, where available.
OptionalstackHTTP Status Code corresponding to this error, where applicable.
A generic Ably error object that contains an Ably-specific status code, and a generic status code. Errors returned from the Ably server are compatible with the
ErrorInfostructure and should result in errors that inherit fromErrorInfo.