forked from googleapis/google-cloud-go
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(bigquery): use xerror.As with googleapi.Error
Fix up type assertions with googleapi.Error to use xerrors.As. In bigquery, this was only required in integration tests and in the package docs. Follows from googleapis#4797 and similar to some of the fixes in storage in googleapis#4802 (storage required additional changes though).
- Loading branch information
Showing
2 changed files
with
18 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