Skip to main content

Abstract Interface: BaseConstraintError<T>

Defined in: projects/shapeshift/src/lib/errors/BaseConstraintError.ts:24

Extends​

Extended by​

Type Parameters​

Type ParameterDefault type
Tunknown

Properties​

constraint​

readonly constraint: ConstraintErrorNames

Defined in: projects/shapeshift/src/lib/errors/BaseConstraintError.ts:25


given​

readonly given: T

Defined in: projects/shapeshift/src/lib/errors/BaseConstraintError.ts:26

Methods​

[customInspectSymbol]()​

protected [customInspectSymbol](depth: number, options: InspectOptionsStylized): string

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:15

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string

Inherited from​

BaseError.[customInspectSymbol]


[customInspectSymbolStackLess]()​

abstract protected [customInspectSymbolStackLess](depth: number, options: InspectOptionsStylized): string

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:19

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string

Inherited from​

BaseError.[customInspectSymbolStackLess]


toJSON()​

toJSON(): BaseConstraintErrorJsonified<T>

Defined in: projects/shapeshift/src/lib/errors/BaseConstraintError.ts:34

Returns​

BaseConstraintErrorJsonified<T>

Overrides​

BaseError.toJSON