Taxum / @taxum/jwt / UnauthorizedError
Class: UnauthorizedError
Defined in: jwt/src/index.ts:175
Error thrown when the JWT is missing or invalid.
Extends
Constructors
Constructor
new UnauthorizedError(
reason
,expose
):UnauthorizedError
Defined in: jwt/src/index.ts:178
Parameters
reason
string
expose
boolean
Returns
UnauthorizedError
Overrides
Properties
debugReason
readonly
debugReason:string
Defined in: jwt/src/index.ts:176
message
readonly
message:string
Defined in: core/src/util/client-error.ts:21
Inherited from
status
readonly
status:StatusCode
Defined in: core/src/util/client-error.ts:20
Inherited from
Accessors
name
Get Signature
get name():
string
Defined in: core/src/util/client-error.ts:28
Returns
string
Inherited from
Methods
[TO_HTTP_RESPONSE]()
[TO_HTTP_RESPONSE]():
HttpResponse
Defined in: core/src/util/client-error.ts:32