orctom/laputa

Exception handling

Opened this issue · 0 comments

1, 500 error
500 -> error message
500 -> render the 500 template, "Internal Server Error" if 500 template not defined

2, log user code exception as early as possible, and do not pass the stack to the framework, instead the freamwork should use a fast exception for exceptional processing.