@openland/foundationdb-core
Version:
Node.js bindings for the FoundationDB database
12 lines • 385 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
class FDBError extends Error {
constructor(description, code) {
super(description);
Object.setPrototypeOf(this, FDBError.prototype);
// Error.captureStackTrace(this, this.constructor);
this.code = code;
}
}
exports.default = FDBError;
//# sourceMappingURL=error.js.map
;