errorΒΆ

  • Custom exception types

exception AudienceError[source]

Bases: ValueError

  • a token with the wrong audience was passed to a request

  • inherits from ValueError

exception ParameterError[source]

Bases: ValueError

  • an invalid parameter was passed to a function

  • inherits from ValueError

exception UsageError[source]

Bases: ValueError

  • an invalid token type was passed to a function

  • may also be used if an endpoint is only useful with a service account, but a dedicated server account was used

  • inherits from ValueError