This repository has been archived by the owner on Mar 20, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing ValueError with InvalidArgumentError in google.gax.errors.c…
…reate_error(). (#196) This new class inherits from both GaxError and ValueError to keep from breaking existing clients. By wrapping an `INVALID_ARGUMENT` in a `ValueError`, the impl. was losing information by "stringify"-ing the wrapped exception. See #132 for change that introduced the `ValueError` behavior.
- Loading branch information
Showing
2 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters