UNPKG

nodedb-json

Version:

A lightweight JSON-based database for Node.js with TypeScript support, indexing, and complex query capabilities

8 lines 306 B
import { DatabaseError } from './database-error.js'; export class FileLockError extends DatabaseError { constructor(lockPath) { super(`Database file is locked by another process or instance: ${lockPath}`); this.name = 'FileLockError'; } } //# sourceMappingURL=file-lock-error.js.map