mirror of
https://github.com/LukeHagar/relay.git
synced 2025-12-06 12:47:49 +00:00
saving
This commit is contained in:
18
node_modules/@msgpack/msgpack/dist/DecodeError.js
generated
vendored
Normal file
18
node_modules/@msgpack/msgpack/dist/DecodeError.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DecodeError = void 0;
|
||||
class DecodeError extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
// fix the prototype chain in a cross-platform way
|
||||
const proto = Object.create(DecodeError.prototype);
|
||||
Object.setPrototypeOf(this, proto);
|
||||
Object.defineProperty(this, "name", {
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
value: DecodeError.name,
|
||||
});
|
||||
}
|
||||
}
|
||||
exports.DecodeError = DecodeError;
|
||||
//# sourceMappingURL=DecodeError.js.map
|
||||
Reference in New Issue
Block a user