Package com.stripe.android.core.exception
Types
Link copied to clipboard
class APIConnectionException(message: String?, cause: Throwable?) : StripeException
Content copied to clipboard
An Exception that represents a failure to connect to Stripe's API.
Link copied to clipboard
class APIException(stripeError: StripeError?, requestId: String?, statusCode: Int, message: String?, cause: Throwable?) : StripeException
Content copied to clipboard
An Exception that represents an internal problem with Stripe's servers.
Link copied to clipboard
class InvalidRequestException(stripeError: StripeError?, requestId: String?, statusCode: Int, message: String?, cause: Throwable?) : StripeException
Content copied to clipboard
A StripeException indicating that invalid parameters were used in a request.
Link copied to clipboard
class InvalidResponseException(stripeError: StripeError?, requestId: String?, statusCode: Int, message: String?, cause: Throwable?) : StripeException
Content copied to clipboard
A StripeException indicating that invalid parameters were used in a response. E.g when the response contains a null field that shouldn't be null, or contains an unknown Enum value that's not defined in the SDK.
Link copied to clipboard
abstract class StripeException(stripeError: StripeError?, requestId: String?, statusCode: Int, cause: Throwable?, message: String?) : Exception
Content copied to clipboard
A base class for Stripe-related exceptions.