Use a custom exception handler to format jsonapi errors correctly
Format json errors in a similar fashion to jsonapi errors
Add unique ids to errors to avoid them being displayed more than once in the UI
Show user the error message returned by the api if the status code is < 500
Use a custom exception handler to format jsonapi errors correctly Format json errors in a similar fashion to jsonapi errors Add unique ids to errors to avoid them being displayed more than once in the UI Show user the error message returned by the api if the status code is < 500