New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classes of Error messages. #74
Comments
Mailthread in iotops: |
Proposal after discussion in Hackathon: error = ( Top-level ERR_CODEs: (0. Success)
Selected comments during Hackathon:
Further comments are welcome. Happy to make the list shorter if possible. |
Other thoughts:
|
Many OSs, shells, and programming languages (e.g. C) use 0 for success and everthing non-zero (negative or positive) is considered an error. HTTP and Coap use postive numbers only where 2. or 2xx is considered success. I think we should probably follow one of these convensions instead of making a new one. The specification should also probably define that everything else than whatever we decide for success is considered an error. |
I made a PR #113 addressing all known issues regarding this. |
This is ready to merge unless there are any objections. |
The PR has been discussed and merged. Closing |
At the last interim there was a suggestion to standardize classes of error messages and to ask the IoT groups in IETF about what classes of error messages that should be standardized.
The text was updated successfully, but these errors were encountered: