Returned a customized error when initializing a new client

This is to also indicate the type of authenticated used by the SDK to
connect to the RBE so that clients of the SDK can report better error
messages to indicate how the authentication failure can be fixed.

Test: Applied this change in re-client and confirmed that the returned
object has the proper auth type set.
3 files changed
tree: e1c72f881c3652ace964eeb7cad2309c2a960284
  1. .bazelci/
  2. .githooks/
  3. .github/
  4. external/
  5. go/
  6. .gitignore
  7. .golangci.yml
  8. AUTHORS
  9. BUILD.bazel
  10. check-gofmt.sh
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. go.mod
  14. go.sum
  15. LICENSE
  16. README.md
  17. remote-apis-sdks-deps.bzl
  18. setup-githooks.sh
  19. WORKSPACE
README.md

Remote Execution API SDKs

CI status: Build Status

PkgGoDev

This repository contains SDKs for the Remote Execution API.

See each language subdirectory's README.md for more specific instructions on using the SDK for that language.