/**
 * Thrown when an underlying database connection is closed.
 * This is particularly relevant when worker connections are marked as closed while
 * operations are still in progress.
 */
export class ConnectionClosedError extends Error {
    constructor(message) {
        super(message);
        this.name = 'ConnectionClosedError';
    }
}
