Next: , Previous: , Up: Top   [Contents][Index]

7 Error handling

APIs can be run with different error handling modes. This is controlled via the argument :catch-errors in start-api. Default is NIL.

Common Lisp Variable: *catch-errors*

If T, then the error is serialize and the corresponding HTTP is returned. Otherwise, when an error occurs, the Lisp debugger is entered.


Up: Error handling   [Contents][Index]

7.1 Global error mode

To setup a global error handling mode, that has precedence to individual running apis error handling modes, set *SERVER-CATCH-ERRORS* variable.

Common Lisp Variable: *server-catch-errors*

Up: Error handling   [Contents][Index]