mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
14 lines
282 B
JavaScript
14 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;
|