Skip to content

ValidationError

@tsed/platform-params

Usage

typescript
import { ValidationError } from "@tsed/platform-params";

See /packages/platform/platform-params/src/types/errors/ValidationError.ts.

Overview

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

name

ts
name: string;

errors

ts
errors: any[];

Released under the MIT License.