Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Error handling #11

Open
jesper-sjovall opened this issue Dec 3, 2013 · 0 comments
Open

Error handling #11

jesper-sjovall opened this issue Dec 3, 2013 · 0 comments

Comments

@jesper-sjovall
Copy link
Contributor

A question that we not yet has cover is how to handle a error? As your know, error can be happen in every system and I think this is good if we have a way to communicates error.

I can see one of this way to be best to use.

  • Use HTTP status codes as 4xx,5xx.
  • Use attribute in the XML document.
<application-list errornr="3" errormsg="server error">
  • Use a error XML document.
<error nr="3">Server error</error>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant