UNPKG

bun-sqlite-orm

Version:

A lightweight TypeScript ORM for Bun runtime with Bun SQLite, featuring Active Record pattern and decorator-based entities

13 lines (10 loc) 424 B
import { BunSqliteOrmError } from './bun-sqlite-orm-error'; export class ConfigurationError extends BunSqliteOrmError { public readonly configKey?: string; public readonly configValue?: unknown; constructor(message: string, configKey?: string, configValue?: unknown, entityName?: string) { super(message, entityName); this.configKey = configKey; this.configValue = configValue; } }