/**
 * Type definitions and error classes for database migrations
 *
 * @module migrations/types
 */
/**
 * Error class for database migration failures
 */
export class MigrationError extends Error {
    operation;
    tableName;
    cause;
    constructor(message, operation, tableName, cause) {
        super(message);
        this.operation = operation;
        this.tableName = tableName;
        this.cause = cause;
        this.name = 'MigrationError';
    }
}
//# sourceMappingURL=types.js.map