HumanDynamics / MassScaleSocialSystems

For TweetPing Collaboration on Mass Scale Participatory Projects
1 stars 1 forks source link

Identity page 404 submission error msg is not user friendly #97

Closed DarkSymmetry closed 9 years ago

DarkSymmetry commented 9 years ago

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.

DarkSymmetry commented 9 years ago

If other error msgs are coded, they should also be user-friendly.

skiano commented 9 years ago

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

DarkSymmetry commented 9 years ago

@jotajunior: See comment above.

DarkSymmetry commented 9 years ago

Sufficient