UNPKG

everything-dev

Version:

A consolidated product package for building Module Federation apps with oRPC APIs.

15 lines • 597 B
//#region src/db/errors.d.ts declare const DatabaseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "DatabaseError"; } & Readonly<A>; declare class DatabaseError extends DatabaseError_base<{ stage: "driver" | "migration" | "load" | "close"; migrationTag?: string; statementIndex?: number; cause: unknown; }> { get message(): string; } //#endregion export { DatabaseError }; //# sourceMappingURL=errors.d.cts.map