@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Function parseStripeError

    • Parse a Stripe SDK error (or any thrown value) into a typed exception.

      Understands both stripe-node error instances and plain objects in Stripe's API error shape. See the error guide for the full code map.

      Parameters

      • error: unknown

      Returns StripeError