Skip to content
Discussion options

You must be logged in to vote

I archived that by following the error log path to the message.

My use-case:

if(status === 'error') {
   console.log(error.response.errors[0].message)
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@TkDodo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by shamxeed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants