A library for interacting with SQLite databases
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export class PawSQLiteError extends Error {
|
|
|
|
static from(err) {
|
|
|
|
const p_err = new PawSQLiteError(err.toString());
|
|
|
|
p_err.cause = err;
|
|
|
|
return p_err;
|
|
|
|
}
|
|
|
|
|
|
|
|
constructor(message) {
|
|
|
|
super(message);
|
|
|
|
this.name = "PawSQLiteError";
|
|
|
|
}
|
|
|
|
}
|