UNPKG

@yamamotok/dataobject

Version:

Decorator based JSON serializer and deserializer.

10 lines (9 loc) 312 B
import { CustomError } from './CustomError'; export interface ValidationErrorCause { key: string; error: string | Error; } export declare class ValidationError extends CustomError { readonly causes: ValidationErrorCause[]; constructor(message: string, causes: ValidationErrorCause[]); }