Skip to content

Class ValidationError

🏭 Constructors

constructor

ts
new ValidationError(error: string, message: string): ValidationError

Parameters

  • error: string
  • message: string

Return Type

  • ValidationError

Defined in: packages/file-transfer/validator.ts:58