text: "use strict";
  
  module.exports = class JSONRPCError extends Error {
    constructor({
      message,
      code,
      data
    }) {
      super(message);
      this.code = code;
      if (data) this.data = data;
      this.name = this.constructor.name;
    }
  
  };
  //# sourceMappingURL=JSONRPCError.js.map