@etherspot/prime-sdk
Version:
Etherspot Prime (Account Abstraction) SDK
10 lines (9 loc) • 322 B
TypeScript
import { Exception } from './exception';
import { ValidationError } from './interfaces';
export declare class ValidationException extends Exception {
errors: ValidationError[];
static throw(property: string, constraints: {
[key: string]: string;
}): void;
constructor(errors: ValidationError[]);
}