bs3m
Version:
TS/JS migrations framework for sqlite3 databases
18 lines • 649 B
TypeScript
/** Error definitions and base error class. */
/**
* Base error class for all BS3M-specific errors.
*
* SQLite errors are not wrapped and will be re-thrown as-is.
*/
export declare class Bs3mError extends Error {
constructor(message: string);
}
/** Error thrown when migration string ID parsing fails. */
export declare class MigrationIdParseError extends Bs3mError {
constructor(stringId: string, reason?: string);
}
/** Error thrown when migration module validation fails. */
export declare class MigrationModuleParseError extends Bs3mError {
constructor(migrationId: string, reason: string);
}
//# sourceMappingURL=errors.d.ts.map