Skip to main content

Class: CortexAuthError

Extends​

Constructors​

new CortexAuthError()​

new CortexAuthError(message): CortexAuthError

Parameters​

ParameterTypeDefault value
messagestring"Authentication required. Please provide a valid API key or token."

Returns​

CortexAuthError

Overrides​

CortexError.constructor

Defined in​

4Players/cortex-typescript-sdk/src/errors.ts:29

Properties​

PropertyModifierTypeInherited fromDefined in
details?readonlyunknownCortexError.details4Players/cortex-typescript-sdk/src/errors.ts:11
statusCode?readonlynumberCortexError.statusCode4Players/cortex-typescript-sdk/src/errors.ts:10

Methods​

captureStackTrace()?​

static optional captureStackTrace(targetObject, constructorOpt?): void

Parameters​

ParameterType
targetObjectobject
constructorOpt?Function

Returns​

void

Inherited from​

CortexError.captureStackTrace

Defined in​

4Players/cortex-typescript-sdk/src/errors.ts:4