djstripe.exceptions

dj-stripe Exceptions.

ImpossibleAPIRequest

Bases: Exception

Raised when dj-stripe attempts to make an impossible API request

InvalidStripeAPIKey

Bases: ValueError

Raised when a clearly-invalid Stripe API key is used.

MultipleSubscriptionException

Bases: Exception

Raised when a Customer has multiple Subscriptions and only one is expected.

StripeObjectManipulationException

Bases: Exception

Raised when an attempt to manipulate a non-standalone stripe object is made not through its parent object.