mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-27 13:04:20 +01:00
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
export class DatabaseError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = 'DatabaseError';
|
|
Object.setPrototypeOf(this, DatabaseError.prototype);
|
|
}
|
|
} |