import { ValidationError } from "https://deno.land/x/enzastdlib@v0.0.4/errors/mod.ts";
Represents an exception regarding user-facing validation of data or input.
Examples
Example 1
Example 1
import { ValidationError } from 'https://deno.land/x/enzastdlib/errors/mod.ts';
throw new ValidationError(
'property \'MyInterface.myProperty\' was a \'string\', expected \'number\'',
);