UNPKG

pegasys-orchestrate

Version:

The PegaSys Orchestrate library provides convenient access to the Codefi Orchestrate API from applications written in server-side JavaScript

18 lines (17 loc) 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpResponseError = void 0; /** * @hidden * @class HttpResponseError */ class HttpResponseError extends Error { constructor(msg, status, headers, data) { super(msg); this.isHttpError = true; this.status = status; this.headers = headers; this.data = data; } } exports.HttpResponseError = HttpResponseError;