@nymphjs/nymph
Version:
Nymph.js - Nymph ORM
13 lines (12 loc) • 350 B
TypeScript
/**
* EntityInvalidDataError.
*
* This exception is meant to be thrown when an attempt to save an entity is
* made, and validation on the data of that entity fails.
*/
export declare class EntityInvalidDataError extends Error {
private fields;
constructor(message: string);
addField(name: string): void;
getFields(): string[];
}