@foxglove/xmlrpc
Version:
TypeScript library implementing an XMLRPC client and server with pluggable server backend
13 lines • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.XmlRpcFault = void 0;
class XmlRpcFault extends Error {
constructor(faultString, faultCode) {
const msg = `XML-RPC fault${faultString != undefined ? ": " + faultString : ""}`;
super(msg);
this.code = this.faultCode = faultCode;
this.faultString = faultString;
}
}
exports.XmlRpcFault = XmlRpcFault;
//# sourceMappingURL=XmlRpcFault.js.map