feat(up): handle storage initialization errors and present missing loader errors in a better way
This commit is contained in:
parent
c1d55978d7
commit
a8db22680e
4 changed files with 169 additions and 55 deletions
|
|
@ -89,3 +89,9 @@ export class MigrationNotRunError extends EmigrateError {
|
|||
super('ERR_MIGRATION_NOT_RUN', message, options);
|
||||
}
|
||||
}
|
||||
|
||||
export class StorageInitError extends EmigrateError {
|
||||
constructor(message: string, options?: ErrorOptions) {
|
||||
super('ERR_STORAGE_INIT', message, options);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue