UNPKG

fluent-ts-validator

Version:
11 lines (10 loc) 425 B
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); }