UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

17 lines (14 loc) 315 B
import { TypeBoxError } from "alepha"; export class FormValidationError extends TypeBoxError { readonly name = "ValidationError"; constructor(options: { message: string; path: string; }) { super({ message: options.message, instancePath: options.path, params: {}, }); } }