wikibrain icon indicating copy to clipboard operation
wikibrain copied to clipboard

More user friendly exception messages

Open tobyli opened this issue 10 years ago • 1 comments

It can be a good idea to write more user friendly exception messages for some common errors if we want to improve usability.

Some examples I can think of

  • DB not found (probably no dump file was parsed)
  • Try to access data from a not-yet-parsed language version
  • Uninitialized SR matrix
  • Uninitialized Wikidata
  • Invalid page ID
  • Invalid title ... (there are definitely more)

@shilad @bjhecht What do you guys think? I guess it should be a must-do before release.

tobyli avatar Apr 04 '14 18:04 tobyli

YES! Great ideas. Could you separate these into separate issues and go at them?

On Fri, Apr 4, 2014 at 1:56 PM, Toby Li [email protected] wrote:

It can be a good idea to write more user friendly exception messages for some common errors if we want to improve usability.

Some examples I can think of

  • DB not found (probably no dump file was parsed)
  • Try to access data from a not-yet-parsed language version
  • Uninitialized SR matrix
  • Uninitialized Wikidata
  • Invalid page ID
  • Invalid title ... (there are definitely more)

@shilad https://github.com/shilad @bjhecht https://github.com/bjhechtWhat do you guys think? I guess it should be a must-do before release.

Reply to this email directly or view it on GitHubhttps://github.com/shilad/wikAPIdia/issues/162 .

shilad avatar Apr 04 '14 19:04 shilad