Skip to content

Latest commit

 

History

History
199 lines (101 loc) · 3.73 KB

InvalidAppEnvironmentError.md

File metadata and controls

199 lines (101 loc) · 3.73 KB

elections-cpl.api.hscc.bdpa.orgDocs


elections-cpl.api.hscc.bdpa.org / src/error / InvalidAppEnvironmentError

Class: InvalidAppEnvironmentError

Represents a misconfigured runtime environment outside of the user's control.

Extends

Constructors

new InvalidAppEnvironmentError()

new InvalidAppEnvironmentError(details?): InvalidAppEnvironmentError

Represents a misconfigured runtime environment outside of the user's control.

Parameters

details?: string

Returns

InvalidAppEnvironmentError

Overrides

AppValidationError.constructor

Source

node_modules/named-app-errors/dist/modules/error/validation/app-validation/invalid-app-environment.d.ts:11

new InvalidAppEnvironmentError()

new InvalidAppEnvironmentError(details, message): InvalidAppEnvironmentError

This constructor syntax is used by subclasses when calling this constructor via super.

Parameters

details: string

message: string

Returns

InvalidAppEnvironmentError

Overrides

AppValidationError.constructor

Source

node_modules/named-app-errors/dist/modules/error/validation/app-validation/invalid-app-environment.d.ts:16

Properties

cause?

optional cause: unknown

Inherited from

AppValidationError.cause

Source

node_modules/typescript/lib/lib.es2022.error.d.ts:24


details

readonly details: undefined | string

Source

node_modules/named-app-errors/dist/modules/error/validation/app-validation/invalid-app-environment.d.ts:6


message

message: string

Inherited from

AppValidationError.message

Source

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


name

name: string

Inherited from

AppValidationError.name

Source

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


stack?

optional stack: string

Inherited from

AppValidationError.stack

Source

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


prepareStackTrace()?

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

Optional override for formatting stack traces

See

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

Parameters

err: Error

stackTraces: CallSite[]

Returns

any

Inherited from

AppValidationError.prepareStackTrace

Source

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


stackTraceLimit

static stackTraceLimit: number

Inherited from

AppValidationError.stackTraceLimit

Source

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

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt?: Function

Returns

void

Inherited from

AppValidationError.captureStackTrace

Source

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