feat!: Use Native cause
in GaxiosError
#572
Labels
next major: breaking change
this is a change that we should wait to bundle into the next major version
priority: p3
Desirable enhancement or fix. May not be included in next release.
semver: major
Hint for users that this is an API breaking change.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Node 16+ supports
Error#cause
. We should use it instead of the existingGaxiosError#error
property:gaxios/src/common.ts
Lines 37 to 42 in c7d5064
Documentation: https://nodejs.org/api/errors.html#errorcause
The text was updated successfully, but these errors were encountered: