fluent-ts-validator
Version:
A fluent validator written in TypeScript
11 lines (10 loc) • 425 B
TypeScript
import { Severity } from "../shared/Severity";
export declare class ValidationFailure {
readonly target: any;
readonly propertyName: string;
readonly attemptedValue: any;
readonly code: string | undefined;
readonly message: string | undefined;
readonly severity: string;
constructor(target: any, propertyName: string, attemptedValue?: any, code?: string, message?: string, severity?: Severity);
}