# Exceptions and Error Handling

Unhandled exceptions raised inside CherryPy applications result in a call to the _cpOnError function. HTTPError and HTTPRedirect exceptions do not result in calls to _cpOnError. HTTPError exceptions force the server to set response status and return an error page.