Last active
August 29, 2015 14:02
-
-
Save lfryc/fdb7c7411c807e7d99c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": 401 // this doesn't have to be repeated, since it is in HTTP header | |
"message": "Something failed", // a client-facing meaningful/descriptive message | |
"exception": "SomeException", // this is helpful to nail down error message | |
"code": 10034 // this is helpful to point user to particular configuration section, etc. | |
"more_info": "http://www.." // where client can get more information | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment