Error class for unauthorized request errors. This error is thrown when a request is not authorized.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

id: string

The error ID.

statusCode: number

The HTTP status code associated with the error. This is optional and can be used to provide additional context.