export declare class DadgetError { inserts: (object | string | number)[]; ns: string; code: number; message: string; constructor(err: { code: number; message: string; }, inserts?: (object | string | number)[], ns?: string); static from(from: any): DadgetError; convertInsertsToString(): void; toString(): string; } export declare class UniqueError extends Error { obj: object; constructor(e: string, obj: object); }