Class: CortexAuthError
Extends
Constructors
new CortexAuthError()
Parameters
| Parameter | Type | Default value |
|---|---|---|
message | string | "Authentication required. Please provide a valid API key or token." |
Returns
Overrides
Defined in
4Players/cortex-typescript-sdk/src/errors.ts:29
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
details? | readonly | unknown | CortexError.details | 4Players/cortex-typescript-sdk/src/errors.ts:11 |
statusCode? | readonly | number | CortexError.statusCode | 4Players/cortex-typescript-sdk/src/errors.ts:10 |
Methods
captureStackTrace()?
Parameters
| Parameter | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
Defined in
4Players/cortex-typescript-sdk/src/errors.ts:4