Error handlers allow you to hook into the error management, to control the page that the user sees when an error occurs. There are two types of error handlers:

Error Page
an error page is any web page that can be executed by the server (*.htm, *.aspx, etc).
Custom Error Handler
if you need to provide more specialised error handling, you can implement your own custom error handler.