Skip to main content

AuthenticationFailed

Api Code Documentation / Exports / service/errors/authentication_failed / AuthenticationFailed

service/errors/authentication_failed.AuthenticationFailed

Hierarchy#

  • VError

    AuthenticationFailed

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new AuthenticationFailed(info, cause?)

Parameters#

NameType
infoInfo
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:31


message#

message: string

Inherited from#

VError.message

Defined in#

node_modules/typescript/lib/lib.es5.d.ts:1023


name#

name: string

Inherited from#

VError.name

Defined in#

node_modules/typescript/lib/lib.es5.d.ts:1022


stack#

Optional stack: string

Inherited from#

VError.stack

Defined in#

node_modules/typescript/lib/lib.es5.d.ts:1024


VError#

Static VError: typeof VError

Inherited from#

VError.VError

Defined in#

node_modules/@types/verror/index.d.ts:21


prepareStackTrace#

Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration#

▸ (err, stackTraces): any

Optional override for formatting stack traces

see https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Parameters#
NameType
errError
stackTracesCallSite[]
Returns#

any

Inherited from#

VError.prepareStackTrace

Defined in#

node_modules/@types/node/globals.d.ts:11


stackTraceLimit#

Static stackTraceLimit: number

Inherited from#

VError.stackTraceLimit

Defined in#

node_modules/@types/node/globals.d.ts:13

Methods#

captureStackTrace#

Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters#

NameType
targetObjectobject
constructorOpt?Function

Returns#

void

Inherited from#

VError.captureStackTrace

Defined in#

node_modules/@types/node/globals.d.ts:4


cause#

Static cause(err): null | Error

Parameters#

NameType
errError

Returns#

null | Error

Inherited from#

VError.cause

Defined in#

node_modules/@types/verror/index.d.ts:23


errorForEach#

Static errorForEach(err, func): void

Parameters#

NameType
errError
func(err: Error) => void

Returns#

void

Inherited from#

VError.errorForEach

Defined in#

node_modules/@types/verror/index.d.ts:29


errorFromList#

Static errorFromList<T>(errors): null | T | MultiError

Type parameters#

NameType
Textends Error

Parameters#

NameType
errorsT[]

Returns#

null | T | MultiError

Inherited from#

VError.errorFromList

Defined in#

node_modules/@types/verror/index.d.ts:28


findCauseByName#

Static findCauseByName(err, name): null | Error

Parameters#

NameType
errError
namestring

Returns#

null | Error

Inherited from#

VError.findCauseByName

Defined in#

node_modules/@types/verror/index.d.ts:26


fullStack#

Static fullStack(err): string

Parameters#

NameType
errError

Returns#

string

Inherited from#

VError.fullStack

Defined in#

node_modules/@types/verror/index.d.ts:25


hasCauseWithName#

Static hasCauseWithName(err, name): boolean

Parameters#

NameType
errError
namestring

Returns#

boolean

Inherited from#

VError.hasCauseWithName

Defined in#

node_modules/@types/verror/index.d.ts:27


info#

Static info(err): Info

Parameters#

NameType
errError

Returns#

Info

Inherited from#

VError.info

Defined in#

node_modules/@types/verror/index.d.ts:24