Skip to content

ParamError

Defined in: packages/distillate/src/core/params.ts:2

Thrown when a structure is constructed with invalid parameters.

  • RangeError

new ParamError(message?): ParamError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104

string

ParamError

RangeError.constructor

new ParamError(message?, options?): ParamError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104

string

ErrorOptions

ParamError

RangeError.constructor

new ParamError(message?): ParamError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104

string

ParamError

RangeError.constructor

new ParamError(message?, options?): ParamError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104

string

ErrorOptions

ParamError

RangeError.constructor

optional cause?: unknown

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26

RangeError.cause


message: string

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077

RangeError.message


readonly name: "ParamError" = "ParamError"

Defined in: packages/distillate/src/core/params.ts:4

Discriminates this error from other Errors.

RangeError.name


optional stack?: string

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078

RangeError.stack