valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
226 stars 23 forks source link

Handle errors more consistently #135

Closed arteymix closed 8 years ago

arteymix commented 8 years ago

It is absolutely not convenient to handle errors as part of the normal processing of a request: any I/O operation can literally fail and is likely unrecoverable as this network level.

I suggest that HandlerCallback and NextCallback propagate all kind errors so that they could be processed as a 500 code.