-
Notifications
You must be signed in to change notification settings - Fork 415
feat(core): Error Handling Revamp #3102
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
18fadbd
Initial exports and external api changes
jonathanedey 2158268
Connect response to error info
jonathanedey 930120e
feat: Revamp error handling to include `httpResponse` and `cause` in …
jonathanedey aa72cee
more refactoring
jonathanedey d7b67a6
refactor: Update all services to use ErrorInfo format
jonathanedey 2dbe1c6
refactor: Update unit tests to verify error cause and httpResponse po…
jonathanedey 81531c5
chore: fix lint
jonathanedey afcb54c
chore: remove debug tests
jonathanedey e92c4e0
fix: Ran api documentor and fix some export errors
jonathanedey 3e44067
fix: Removed outdated `__proto__` workaround and updated api doc strings
jonathanedey 8457e85
chore: Fix lint
jonathanedey 9e0fd4f
fix: Used a helper function to map `RequestResponse` to `HttpResponse`
jonathanedey 1249539
fix: Removed last of the stringified response bodies in response mess…
jonathanedey 6c74e52
chore: Fix lint
jonathanedey 892471a
chore: Generate apidocs
jonathanedey 04ef02e
Merge branch 'error-revamp' into je-error-re
jonathanedey 3d35bd6
fix: Apply revamp changes to pnv
jonathanedey 3d38b0b
chore: Added review suggestions
jonathanedey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something we can address (for both
PrefixedFirebaseErrorandErrorInfo? I think it is okay to ignore this but I am just double checking :)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For
ErrorInfoit's the same scenario we have forApp. Where even though we export it commonly, api documenter wants it to be exported again from other paths where it is used in the definition. So i don't think we have good options other than exposing it from multiple paths.For
PrefixedFirebaseErrorthis is technically internal logic and not exposed at all even though it's a middle step betweenFirebaseErrorand the service specific errors. Not sure if there is a way to exclude it from the docs.