seerbit-nodejs
Version:
SeerBit NodsJS SDK
19 lines • 666 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class HttpClientException {
constructor(props) {
this.statusCode = 500;
this.name = "HttpClientException";
this.message = props.message;
if (props.responseHeaders)
this.responseHeaders = props.responseHeaders;
if (props.responseBody)
this.responseBody = props.responseBody;
if (props.errorCode)
this.errorCode = props.errorCode;
if (props.statusCode)
this.statusCode = props.statusCode;
}
}
exports.default = HttpClientException;
//# sourceMappingURL=httpClientException.js.map