Opened 15 years ago

Closed 15 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 15 years ago by lgiessmann

Status: newaccepted

comment:2 Changed 15 years ago by lgiessmann

Resolution: fixed
Status: acceptedclosed

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.

Note: See TracTickets for help on using tickets.