Did you see Zn[JSON]RestServerDelegate>>#errorResponse:code:message: and follow its users ?
Also, ZnRestServerDelegate>>#handleRequest: does transform any error in a proper REST server error. Does that help ? > On 08 Jun 2015, at 16:11, Christophe Demarey <christophe.dema...@inria.fr> > wrote: > > Hi, > > When you offer a ReST API, you may have errors on the server side. > I wonder how you manage that. > In Zinc-Rest implementation, I did not see a common mechanism to handle > Error(s) occurring server side to convert them to HTTP Internal Server Error > (500) error code for example. > It looks like a good practice but I would like to know about your practices. > Do you just deactivate the debugger? Do you catch Errors? other? > > Thanks, > Christophe.