UNPKG

braintree-web

Version:

A suite of tools for integrating Braintree in the browser

25 lines (21 loc) 810 B
"use strict"; /** * @name BraintreeError.Popup Related Error Codes * @ignore * @description Errors that occur when using a component that opens a popup window. * @property {INTERNAL} FRAME_SERVICE_FRAME_CLOSED - Occurs when the frame is closed before tokenization can occur. * @property {INTERNAL} FRAME_SERVICE_FRAME_OPEN_FAILED - Occurs when the popup could not be opened. */ var BraintreeError = require("../../braintree-error"); module.exports = { FRAME_SERVICE_FRAME_CLOSED: { type: BraintreeError.types.INTERNAL, code: "FRAME_SERVICE_FRAME_CLOSED", message: "Frame closed before tokenization could occur.", }, FRAME_SERVICE_FRAME_OPEN_FAILED: { type: BraintreeError.types.INTERNAL, code: "FRAME_SERVICE_FRAME_OPEN_FAILED", message: "Frame failed to open.", }, };