Class: TanqoryAuthenticationError
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:80
Authentication Error - 401 Unauthorized
Extends
Constructors
Constructor
new TanqoryAuthenticationError(
message?,options?):TanqoryAuthenticationError
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:81
Parameters
message?
string = 'Authentication required'
options?
TanqoryErrorOptions = {}
Returns
TanqoryAuthenticationError
Overrides
Properties
cause?
optionalcause?:unknown
Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
code?
readonlyoptionalcode?:string
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:24
Inherited from
details?
readonlyoptionaldetails?:Record<string,unknown>
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:27
Inherited from
headers?
readonlyoptionalheaders?:Record<string,string>
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:30
Inherited from
message
message:
string
Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
name
name:
string
Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
param?
readonlyoptionalparam?:string
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:26
Inherited from
requestId?
readonlyoptionalrequestId?:string
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:28
Inherited from
retryAfter?
readonlyoptionalretryAfter?:number
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:29
Inherited from
stack?
optionalstack?:string
Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
statusCode?
readonlyoptionalstatusCode?:number
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:23
Inherited from
timestamp
readonlytimestamp:Date
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:31
Inherited from
type?
readonlyoptionaltype?:string
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:25
Inherited from
Methods
toJSON()
toJSON():
object
Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:52
Returns
object
code
code:
string
details
details:
Record<string,unknown>
message
message:
string
name
name:
string
param
param:
string
requestId
requestId:
string
statusCode
statusCode:
number
timestamp
timestamp:
Date
type
type:
string