Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

fix!: parse from HTTP errors and prefer that as the cannonical error code when it is provided#1633

Merged
sofisl merged 4 commits intogoogleapis:mainfrom
MarkDuckworth:markduckworth/rest-error-status
Feb 5, 2025
Merged

fix!: parse from HTTP errors and prefer that as the cannonical error code when it is provided#1633
sofisl merged 4 commits intogoogleapis:mainfrom
MarkDuckworth:markduckworth/rest-error-status

Conversation

@MarkDuckworth
Copy link
Contributor

@MarkDuckworth MarkDuckworth commented Jul 15, 2024

@MarkDuckworth MarkDuckworth requested a review from a team as a code owner July 15, 2024 15:02
@MarkDuckworth MarkDuckworth requested a review from a team July 15, 2024 15:02
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jul 15, 2024
@MarkDuckworth
Copy link
Contributor Author

@leahecole
Copy link
Contributor

@sofisl is it worth also adding a test in the test-application for this? Maybe a modification of the existing testEchoError test?

@jellynoone
Copy link

Is there any ETA on this? As described in firebase/firebase-admin-node#2587 (comment), under certain situations the fact the error codes mapping is lossy could be exploited.

@sofisl sofisl requested a review from a team as a code owner February 4, 2025 20:13
@sofisl sofisl changed the title fix: parse from HTTP errors and prefer that as the cannonical error code when it is provided fix!: parse from HTTP errors and prefer that as the cannonical error code when it is provided Feb 5, 2025
@sofisl sofisl merged commit e9b47fc into googleapis:main Feb 5, 2025
23 checks passed
@release-please release-please bot mentioned this pull request Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: s Pull request size is small.

Projects

None yet

4 participants