FirestoreAPIError¶
- exception gafaelfawr.exceptions.FirestoreAPIError(message, *, errors, reason=None)¶
Bases:
FirestoreError
A Google API error occurred while talking to Firestore.
- classmethod from_exception(exc)¶
Create an exception from a Google API failure exception.
- Parameters:
exc (
GoogleAPICallError
) – Underlying Google API exception.- Returns:
Corresponding wrapped exception.
- Return type:
- to_slack()¶
Format the exception for Slack reporting.
- Returns:
Message suitable for sending to Slack.
- Return type: