|
Revision 683
(checked in by fumanchu, 3 years ago)
|
Doc updates for [682] (error-handling changes).
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<section xmlns:db="http://docbook.org/docbook-ng" |
|---|
| 3 |
xmlns:xi="http://www.w3.org/2001/XInclude" |
|---|
| 4 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|---|
| 5 |
xml:id="globaloverviewcherrypy"> |
|---|
| 6 |
<title>Exceptions and Error Handling</title> |
|---|
| 7 |
<para> |
|---|
| 8 |
Unhandled exceptions raised inside CherryPy applications result in a call |
|---|
| 9 |
to the _cpOnError function. HTTPError and HTTPRedirect exceptions do not |
|---|
| 10 |
result in calls to _cpOnError. HTTPError exceptions force the server to set |
|---|
| 11 |
response status and return an error page. |
|---|
| 12 |
</para> |
|---|
| 13 |
</section> |
|---|