Browse: Home /

Namespace: Exception

ApiConnectionException

Class: ApiConnection is thrown in the event that the SDK can’t connect to Stripe’s servers. That can be for a variety of different reasons from a downed network to a bad TLS certificate.

CardException

Class: CardException is thrown when a user enters a card that can’t be charged for some reason.

AuthenticationException

Class: AuthenticationException is thrown when invalid credentials are used to connect to Stripe’s servers.

InvalidRequestException

Class: InvalidRequestException is thrown when a request is initiated with invalid parameters.