@hypernetlabs/objects
Version:
Objects and types shared by the Hypernet Protocol
16 lines • 602 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.VectorError = void 0;
const errorCodes_1 = __importDefault(require("../errors/errorCodes"));
class VectorError extends Error {
constructor(sourceError, message) {
super(message);
this.sourceError = sourceError;
this.errorCode = errorCodes_1.default[VectorError.name];
}
}
exports.VectorError = VectorError;
//# sourceMappingURL=VectorError.js.map