Closed DarkSymmetry closed 9 years ago
If other error msgs are coded, they should also be user-friendly.
Ok so I made a change that makes the fallback "Sorry, something went wrong"
If we want better messages they will have to be sent by the api.
If the api wants to display an error it must send a response that looks like this:
{
"error": {
"title": "Sorry", <-- a very short title
"message": "We could not do something" <-- a slightly longer message
}
}
The frontend will display that, otherwise it uses a fallback
@jotajunior: See comment above.
Sufficient
A 404 error message is shown when a gamer account cannot be found after submission on the identity page. The error message should be a user-friendly descriptive error message.