Skip to content

AjvValidationError

@tsed/ajv

Usage

typescript
import { AjvValidationError } from "@tsed/ajv";

See /packages/specs/ajv/src/types/errors/AjvValidationError.ts.

Overview

ts
class AjvValidationError extends BadRequest {
    name: string;
    errors: any[];
    constructor(message: string, errors?: any[]);
}

name

ts
name: string;

errors

ts
errors: any[];

Released under the MIT License.