bc-checkout-sdk
Version:
BetterCommerce's Checkout NodeJS SDK enables BC client applications to integrate with Checkout merchant API system. It publishes an interface to interact with [Checkout API](https://api-reference.checkout.com/#operation/getPaymentDetails/) endpoints.
17 lines (16 loc) • 687 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidRequestException = void 0;
const BaseException_1 = require("./BaseException");
class InvalidRequestException extends BaseException_1.BaseException {
constructor(httpResponseCode = undefined, status = undefined, errorCode = undefined, errorMessage = undefined) {
if (httpResponseCode == undefined) {
super(400, "invalid_request", "invalid_request", "Please pass valid arguments.");
}
else {
super(httpResponseCode, status, errorCode, errorMessage);
}
}
}
exports.InvalidRequestException = InvalidRequestException;
;