"use strict";const descriptor={value:"SqliteError",writable:!0,enumerable:!1,configurable:!0};function SqliteError(r,e){if(new.target!==SqliteError)return new SqliteError(r,e);if("string"!=typeof e)throw new TypeError("Expected second argument to be a string");Error.call(this,r),descriptor.value=""+r,Object.defineProperty(this,"message",descriptor),Error.captureStackTrace(this,SqliteError),this.code=e}Object.setPrototypeOf(SqliteError,Error),Object.setPrototypeOf(SqliteError.prototype,Error.prototype),Object.defineProperty(SqliteError.prototype,"name",descriptor),module.exports=SqliteError;