Skip to main content

Class: SchemaMigrationError

Defined in: web/lib/hooks/use-schema-migration.ts:56

Error thrown during schema migration.

Extends

  • Error

Constructors

new SchemaMigrationError()

new SchemaMigrationError(message, uri, phase, cause?): SchemaMigrationError

Defined in: web/lib/hooks/use-schema-migration.ts:61

Parameters

message

string

uri

string

phase

"fetch" | "transform" | "update"

cause?

Error

Returns

SchemaMigrationError

Overrides

Error.constructor

Properties

code

readonly code: "SCHEMA_MIGRATION_ERROR" = 'SCHEMA_MIGRATION_ERROR'

Defined in: web/lib/hooks/use-schema-migration.ts:57


phase

readonly phase: "fetch" | "transform" | "update"

Defined in: web/lib/hooks/use-schema-migration.ts:59


uri

readonly uri: string

Defined in: web/lib/hooks/use-schema-migration.ts:58