AuthenticationFailed
Api Code Documentation / Exports / service/errors/authentication_failed / AuthenticationFailed
service/errors/authentication_failed.AuthenticationFailed
Hierarchy
-
↳
AuthenticationFailed
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AuthenticationFailed(info, cause?)
Parameters
| Name | Type |
|---|---|
info | Info |
cause? | string | Error |
Overrides
VError.constructor
Defined in
src/service/errors/authentication_failed.ts:20
Properties
cause
• cause: () => undefined | Error
Type declaration
▸ (): undefined | Error
Returns
undefined | Error
Inherited from
VError.cause
Defined in
node_modules/@types/verror/index.d.ts:26
message
• message: string
Inherited from
VError.message
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1068
name
• name: string
Inherited from
VError.name
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1067
stack
• Optional stack: string
Inherited from
VError.stack
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1069
VError
▪ Static VError: typeof VError
Inherited from
VError.VError
Defined in
node_modules/@types/verror/index.d.ts:16
prepareStackTrace
▪ Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any
Type declaration
▸ (err, stackTraces): any
Optional override for formatting stack traces
Parameters
| Name | Type |
|---|---|
err | Error |
stackTraces | CallSite[] |
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
VError.prepareStackTrace
Defined in
node_modules/@types/node/globals.d.ts:27
stackTraceLimit
▪ Static stackTraceLimit: number
Inherited from
VError.stackTraceLimit
Defined in
node_modules/@types/node/globals.d.ts:29
Methods
captureStackTrace
▸ Static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Parameters
| Name | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
VError.captureStackTrace
Defined in
node_modules/@types/node/globals.d.ts:20
cause
▸ Static cause(err): null | Error
Parameters
| Name | Type |
|---|---|
err | Error |
Returns
null | Error
Inherited from
VError.cause
Defined in
node_modules/@types/verror/index.d.ts:18
errorForEach
▸ Static errorForEach(err, func): void
Parameters
| Name | Type |
|---|---|
err | Error |
func | (err: Error) => void |
Returns
void
Inherited from
VError.errorForEach
Defined in
node_modules/@types/verror/index.d.ts:24
errorFromList
▸ Static errorFromList<T>(errors): null | T | MultiError
Type parameters
| Name | Type |
|---|---|
T | extends Error |
Parameters
| Name | Type |
|---|---|
errors | T[] |
Returns
null | T | MultiError
Inherited from
VError.errorFromList
Defined in
node_modules/@types/verror/index.d.ts:23
findCauseByName
▸ Static findCauseByName(err, name): null | Error
Parameters
| Name | Type |
|---|---|
err | Error |
name | string |
Returns
null | Error
Inherited from
VError.findCauseByName
Defined in
node_modules/@types/verror/index.d.ts:21
fullStack
▸ Static fullStack(err): string
Parameters
| Name | Type |
|---|---|
err | Error |
Returns
string
Inherited from
VError.fullStack
Defined in
node_modules/@types/verror/index.d.ts:20
hasCauseWithName
▸ Static hasCauseWithName(err, name): boolean
Parameters
| Name | Type |
|---|---|
err | Error |
name | string |
Returns
boolean
Inherited from
VError.hasCauseWithName
Defined in
node_modules/@types/verror/index.d.ts:22
info
▸ Static info(err): Info
Parameters
| Name | Type |
|---|---|
err | Error |
Returns
Info
Inherited from
VError.info
Defined in
node_modules/@types/verror/index.d.ts:19