-
Notifications
You must be signed in to change notification settings - Fork 127
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
Error handler improvements #189
Labels
needed-now
Things we need to finalize a beta
Comments
@goldbergyoni Thank you, will get into that soon :) |
@RonDaha This feature is still open? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our handler looks awesome, with that we might have another iteration to perfect it?
What can be improved:
A. For the case of Error object -> The normalizer can use the origin error object (which already has the stack) and then just thoughtfully copy missing properties:
B. For the case of non-error object -> We may create AppError, then blend in all the properties from the non-error
Or is there a better way? In any case, let's simulate those things in our testing (e.g., non-error with some custom properties)
The text was updated successfully, but these errors were encountered: