errors/zs_exception library
Typedefs
- ZSException = ZeroSettleException
- Backward-compatible typedef. Use ZeroSettleException instead.
Exceptions / Errors
- ZeroSettleException
- Base exception type for the ZeroSettle SDK.
- ZSApiException
- An API or network error occurred.
- ZSCancelledException
- The user cancelled the checkout flow.
- ZSCheckoutFailedException
- The checkout flow failed.
- ZSCheckoutNotStartedException
- Checkout could not start (e.g. backend failed to create the payment intent). Distinct from terminal errors that occur after checkout is in flight.
- ZSNotConfiguredException
- The SDK has not been configured. Call ZeroSettle.configure first.
- ZSProductNotFoundException
- No product found with the given identifier.
- ZSUserIdRequiredException
- A userId is required for this product type.
- ZSWebCheckoutDisabledException
- Web checkout is disabled for the user's jurisdiction.