Return error codes from API #1504
denolfe
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
ha, how's it going? :D |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of now, any handling of errors on the frontend has to be done via HTTP status code or error message. The introduction of i18n makes using error messages much more difficult. Having a set list of error codes maintained internally would make handling these much easier.
Ideally, in addition to the error message, we'd send back a field like
errorCode
which would be standardized.Beta Was this translation helpful? Give feedback.
All reactions