Class: ValidationError

December 9, 2025 ยท View on GitHub

iexec


iexec / errors / ValidationError

Class: ValidationError

ValidationError is thrown when a method is called with missing or unexpected parameters.

Extends

  • ValidationError

Constructors

Constructor

new ValidationError(errorOrErrors, value?, field?, type?, disableStack?): ValidationError

Parameters

errorOrErrors

string | ValidationError | readonly ValidationError[]

value?

any

field?

string

type?

string

disableStack?

boolean

Returns

ValidationError

Inherited from

YupValidationError.constructor