Skip to content

@stephansama packages / @stephansama/typed-events / utils / ValidatorError

Class: ValidatorError

Defined in: utils/error.ts:3

Extends

  • Error

Extended by

Constructors

Constructor

ts
new ValidatorError(
   errorType, 
   errorId, 
   issues, ...
   rest): ValidatorError;

Defined in: utils/error.ts:4

Parameters

errorType

string

errorId

string

issues

readonly Issue[]

rest

...unknown[]

Returns

ValidatorError

Overrides

ts
Error.constructor

Released under MIT license