UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

11 lines 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConstructorError = void 0; const format_payments_error_message_util_js_1 = require("../util/format-payments-error-message.util.js"); class ConstructorError extends TypeError { constructor(message) { super((0, format_payments_error_message_util_js_1.formatPaymentsErrorMessage)(`Failed to construct 'PaymentRequest': ${message}`)); } } exports.ConstructorError = ConstructorError; //# sourceMappingURL=constructor.error.js.map