Skip to main content

Class: CortexApiError

Extends​

Constructors​

new CortexApiError()​

new CortexApiError(
message,
statusCode,
details?): CortexApiError

Parameters​

ParameterType
messagestring
statusCodenumber
details?unknown

Returns​

CortexApiError

Overrides​

CortexError.constructor

Defined in​

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

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