vroom-frontend
vroom-frontend copied to clipboard
Improve error reporting
Despite previous efforts in #22, error handling is still very rudimentary. In most error cases we get a Error: 0 alert that is not helpful at all. We should display an explicit message based on:
- status code returned by
vroom-express, see https://github.com/VROOM-Project/vroom-express/issues/13#issuecomment-461859417 - error message in json output.