Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(errors): allow Echo to auto-populate fake error details #1456

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 8, 2024

  1. feat(errors): allow Echo to auto-populate fake error details

    This is useful for testing client responses to errors.
    
    This can be tested over REST with
    
    curl -i -X POST http://localhost:7469/v1beta1/echo:echo \
       -d'{"error": {"code": 8}, "generateErrorDetails": true}' \
       -H "Content-Type: application/json" -H "X-Goog-Api-Client: rest/0.0.0 gapic/0.0.0"
    vchudnov-g committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    cf9a769 View commit details
    Browse the repository at this point in the history