Getting access to entire Error object #3682
Unanswered
cubecleveland
asked this question in
General
Replies: 1 comment 2 replies
-
You can reject a Promise with whatever content you like and that content will be available in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We are using native fetch to fetch data from server and folowed the online example for error handling wheer we throuw an Error when we get anytihgn different from 200.
Problem is that we want access inside the onError to the entire json response that comes from serevr is there a way to achive that ?
Beta Was this translation helpful? Give feedback.
All reactions