This page demonstrates Dancer's error handling code, in development and production modes.
In development mode, any die statement will generate a detailed stack-trace with loads of information. In production mode, die statements will generate a generic error message.

Code Highlights



Error Handling Example
By clicking on the button below, you will get a Runtime error message - it's not a bug - it's the whole point of this demonstration.