mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 19:44:21 +01:00
15 lines
282 B
JavaScript
15 lines
282 B
JavaScript
'use strict';
|
|
|
|
class SqliteError extends Error {
|
|
constructor(message, code, rawCode) {
|
|
super(message);
|
|
this.name = 'SqliteError';
|
|
this.code = code;
|
|
this.rawCode = rawCode;
|
|
|
|
Error.captureStackTrace(this, SqliteError);
|
|
}
|
|
}
|
|
|
|
module.exports = SqliteError;
|