diff options
Diffstat (limited to 'packages/db/src/utils.ts')
-rw-r--r-- | packages/db/src/utils.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/db/src/utils.ts b/packages/db/src/utils.ts index 4e1a18685..1e7b00b12 100644 --- a/packages/db/src/utils.ts +++ b/packages/db/src/utils.ts @@ -1,2 +1,8 @@ +import { AstroError } from 'astro/errors'; + export { defineDbIntegration } from './core/utils.js'; export { asDrizzleTable } from './runtime/index.js'; + +export class AstroDbError extends AstroError { + name = 'Astro DB Error'; +} |