InvalidClientKeyError

Error thrown when an invalid client key is provided

Error thrown when an invalid client key is provided

Extends

Constructors

Constructor

new InvalidClientKeyError(message): InvalidClientKeyError

Parameters

message

string = "Invalid Client Key Error"

Returns

InvalidClientKeyError

Overrides

BWellError.constructor

Methods

isBwellError()

static isBwellError(e): e is BWellError

Checks if the given error is a BWellError

Parameters

e

unknown

The error to check

Returns

e is BWellError

True if the error is a BWellError, false otherwise

Inherited from

BWellError.isBwellError


captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

BWellError.captureStackTrace

Properties

cause?

optional cause: unknown

Inherited from

BWellError.cause


prepareStackTrace()?

static optional prepareStackTrace: (err, stackTraces) => any

Optional override for formatting stack traces

Parameters

err

Error

stackTraces

CallSite[]

Returns

any

See

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

Inherited from

BWellError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number

Inherited from

BWellError.stackTraceLimit


name

name: string

Inherited from

BWellError.name


message

message: string

Inherited from

BWellError.message


stack?

optional stack: string

Inherited from

BWellError.stack