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

PRovide in-depth details on error messages #684

Open
sofisl opened this issue Feb 4, 2025 · 1 comment
Open

PRovide in-depth details on error messages #684

sofisl opened this issue Feb 4, 2025 · 1 comment
Labels
size: m Pull request size is medium. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@sofisl
Copy link
Contributor

sofisl commented Feb 4, 2025

A screenshot that you have tested with "Try this API".

See googleapis/google-api-nodejs-client#3530

Why wasn't this error detail surfaced in the top-level error?

What would you like to see in the library?

I want those error details populated at the top-level

Describe alternatives you've considered

No response

Additional context/notes

No response

@sofisl sofisl added size: m Pull request size is medium. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Feb 4, 2025
@d-goog
Copy link
Contributor

d-goog commented Feb 8, 2025

This would be a use case for Error#cause as the error would be displayed automatically:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants