Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

More changes on error unification #606

Open
angiehjort opened this issue Mar 30, 2018 · 0 comments
Open

More changes on error unification #606

angiehjort opened this issue Mar 30, 2018 · 0 comments

Comments

@angiehjort
Copy link
Member

Please make it so that i can bind some UI strings to the error messages, i need errors to have unique ID and message should be informative, details should contain details and not the message

for example, now:

{
  "name": "WaffleServerError",
  "message": "WS error",
  "details": "No versions were found for the given dataset",
. . .

would like it to be

{
  "name": "WaffleServerError/NoVersionsFound",
  "message": "WS error: No versions were found for the given dataset",
  "details": {dataset: "open-numbers%2Fddf--gapminder--population%23develop"},
. . .
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant