Javascript – VueJS handling errors from api call on form component
I have a simple registration endpoint that I want to allow for a user to register in my vue app, I also want to display appropriate errors from my backend to the vue client. The error JSON structure looks like…