Skip to content

Commit

Permalink
types: ErrorInfo should implement Error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF authored Jun 26, 2024
1 parent 879da75 commit ffe3969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ably.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@ export declare class Realtime implements RealtimeClient {
/**
* 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 `ErrorInfo` structure and should result in errors that inherit from `ErrorInfo`.
*/
export declare class ErrorInfo {
export declare class ErrorInfo implements Error {
/**
* Ably [error code](https://github.com/ably/ably-common/blob/main/protocol/errors.json).
*/
Expand Down

0 comments on commit ffe3969

Please sign in to comment.