googleapis / googleapis/google-cloud-python
Clean-up error handling to pass through errors instead of catching/rethrowing
Open
api: bigquery
priority: p2
type: cleanup
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.8k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 122
Description
There have been [several](https://stackoverflow.com/q/55350247/101923) [StackOverflow](https://stackoverflow.com/q/35173847/101923) [questions](https://stackoverflow.com/q/55350247/101923) about `GenericGBQException`.
We should have a troubleshooting document that covers:
* Common exceptions that may occur.
* How to import them to catch them.
* Best practices for handling them.
Side note: We may want to reconsider catching Google API exceptions at all and just letting them pass through.
Contributor guide
Assessment
This issue has not been assessed yet.