Add rate limiting exceptions by skion · Pull Request #695 · firebase/firebase-admin-python

This adds two exception types to enable users to detect rate limited calls which were previously swallowed and converted into a generic InvalidArgumentError, making it impossible to detect rate limiting situations and pass that information through to the end user.

This is being discussed in #666.

I chose to inherit from the ResourceExhaustedError base exception, which seemed to make most sense.