Class: AuthError
chord-stytch.AuthError
- Error↳
• new AuthError(__namedParameters)
Name | Type |
---|---|
__namedParameters | Object |
Error.constructor
• Optional cause: unknown
Error.cause
node_modules/typescript/lib/lib.es2022.error.d.ts:26
• code: AuthErrorCodes
• message: string
Error.message
node_modules/typescript/lib/lib.es5.d.ts:1054
• name: string
Error.name
• Optional stack: string
Error.stack
node_modules/typescript/lib/lib.es5.d.ts:1055
▪ Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any
▸ (err, stackTraces): any
Optional override for formatting stack traces
Name | Type |
---|---|
err | Error |
stackTraces | CallSite[] |
any
Error.prepareStackTrace
node_modules/@types/node/globals.d.ts:11
▪ Static stackTraceLimit: number
Error.stackTraceLimit
node_modules/@types/node/globals.d.ts:13
▸ Static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
void
Error.captureStackTrace
node_modules/@types/node/globals.d.ts:4