Opened 16 years ago
Closed 16 years ago
#9 closed task (fixed)
error messages
Reported by: | lgiessmann | Owned by: | lgiessmann |
---|---|---|---|
Priority: | major | Milestone: | user interface/json interface |
Component: | json-interface | Version: | 0.1 |
Keywords: | Cc: | inf1045@… |
Description
add error messages to the json-rest-interface of in th hunchentoot-handler, so the user will be able to "understand" (or not) his faults, e.g. duplicated identifiers, etc.
a simple but effective resolution could be the returning of the error/condition handling in the http-response-body additionally to the http-error-code (500 for internal server error)
Change History (2)
comment:1 Changed 16 years ago by
Status: | new → accepted |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
the +http-internal-server-error+ was added to the approved-codes list, so there is no standard message sent from hunchentoot, instead there will be sent a text message with the content of the condition.
therefor every page-handler in the json-interface has a handler-case.