class MigrationInProgressError
extends Error

Thrown when another isolate holds the migration lock — i.e. a database migration (including its pre-migration backup) is already running. The request can be retried once the migration finishes, so callers surface a dedicated "migration in progress" page that auto-refreshes rather than the generic temporary-error page.

Constructors

MigrationInProgressError(message: string)

Usage

import { MigrationInProgressError } from "docs/database.ts";