Browse: Home /

Namespace: Exception


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.


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


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


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