nooschain / auth/session-tokens / AuthError
Class: AuthError
Defined in: auth/session-tokens.ts:39
Auth-specific error that carries a stable machine-readable code.
Extends
Error
Constructors
Constructor
new AuthError(
code,message):AuthError
Defined in: auth/session-tokens.ts:40
Parameters
code
message
string
Returns
AuthError
Overrides
Error.constructor
Properties
code
readonlycode:AuthErrorCode
Defined in: auth/session-tokens.ts:41