Inttegro Web SDKs - v0.1.0
    Preparing search index...

    Class InttegroCheckoutError

    An integration error raised by @inttegro/js before or while hosted Checkout is initialized.

    This error describes SDK and browser failures. Payment failures reported by the hosted experience arrive as CheckoutPaymentAttemptFailedEvent or CheckoutErrorEvent instead. That distinction lets an application separate integration monitoring from customer payment outcomes.

    try {
    await checkout.mount('#checkout')
    } catch (error) {
    if (
    error instanceof InttegroCheckoutError &&
    error.code === 'mount_timeout'
    ) {
    showRetryButton()
    } else {
    reportIntegrationError(error)
    }
    }

    Hierarchy

    • Error
      • InttegroCheckoutError
    Index
    cause?: unknown

    Stable error code intended for programmatic handling.

    message: string
    name: string
    stack?: string