UNPKG

r19

Version:

Simple remote procedure calls in TypeScript

26 lines (25 loc) 840 B
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; }; 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; } } export { R19Error }; //# sourceMappingURL=R19Error.js.map