Next: API configuration, Previous: Accessing the API, Up: Top [Contents][Index]
APIs can be run with different error handling modes. This is controlled via the argument :catch-errors in start-api. Default is NIL.
If T, then the error is serialize and the corresponding HTTP is returned. Otherwise, when an error occurs, the Lisp debugger is entered.
• Global error mode | ||
Up: Error handling [Contents][Index]
To setup a global error handling mode, that has precedence to individual running apis error handling modes, set *SERVER-CATCH-ERRORS* variable.
Up: Error handling [Contents][Index]