@suluk/payments - v0.1.0
    Preparing search index...

    Class PaymentLibError

    The error taxonomy (C048) — mirrors Prism's three hard-failure classes. A SOFT decline is NOT one of these: it comes back in-band as status: FAILURE on the response. These are thrown only for request-phase config/validation problems (IntegrationError), unexpected processor responses (ConnectorError), and transport failures (NetworkError) — so a caller can distinguish "the card was declined" (in-band, expected) from "the integration is broken" (thrown).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    errorCode: string
    cause?: unknown
    name: string
    message: string
    stack?: string