ParamError
Defined in: packages/distillate/src/core/params.ts:2
Thrown when a structure is constructed with invalid parameters.
Extends
Section titled “Extends”RangeError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ParamError(
message?):ParamError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”ParamError
Inherited from
Section titled “Inherited from”RangeError.constructor
Constructor
Section titled “Constructor”new ParamError(
message?,options?):ParamError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”ParamError
Inherited from
Section titled “Inherited from”RangeError.constructor
Constructor
Section titled “Constructor”new ParamError(
message?):ParamError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”ParamError
Inherited from
Section titled “Inherited from”RangeError.constructor
Constructor
Section titled “Constructor”new ParamError(
message?,options?):ParamError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1104
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”ParamError
Inherited from
Section titled “Inherited from”RangeError.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”RangeError.cause
message
Section titled “message”message:
string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”RangeError.message
readonlyname:"ParamError"="ParamError"
Defined in: packages/distillate/src/core/params.ts:4
Discriminates this error from other Errors.
Overrides
Section titled “Overrides”RangeError.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”RangeError.stack