@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
7 lines • 317 B
JavaScript
import { formatPaymentsErrorMessage } from '../util/format-payments-error-message.util.js';
export class ConstructorError extends TypeError {
constructor(message) {
super(formatPaymentsErrorMessage(`Failed to construct 'PaymentRequest': ${message}`));
}
}
//# sourceMappingURL=constructor.error.js.map