r19
Version:
Simple remote procedure calls in TypeScript
26 lines (25 loc) • 934 B
JavaScript
;
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
return value;
};
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
class R19Error extends Error {
constructor(message, options = {}) {
super();
__publicField(this, "procedurePath");
__publicField(this, "procedureArgs");
if (Error.captureStackTrace) {
Error.captureStackTrace(this, R19Error);
}
this.name = "R19Error";
this.message = message;
this.cause = options.cause;
this.procedurePath = options.procedurePath;
this.procedureArgs = options.procedureArgs;
}
}
exports.R19Error = R19Error;
//# sourceMappingURL=R19Error.cjs.map