Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 683

Show
Ignore:
Timestamp:
09/27/05 09:51:20
Author:
fumanchu
Message:

Doc updates for [682] (error-handling changes).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/book/xml/apireference.xml

    r674 r683  
    311311                <section> 
    312312                    <title>_cpOnError</title> 
    313                     <para>_cpOnError is a function for handling internal exceptions raised by 
    314                     CherryPy.</para> 
     313                    <para>_cpOnError is a function for handling unanticipated exceptions, whether 
     314                    raised by CherryPy itself, or in user applications. The default simply raises 
     315                    HTTPError(500).</para> 
    315316                </section> 
    316317            </listitem> 
  • trunk/docs/book/xml/configsystemoverview.xml

    r627 r683  
    9797    <listitem>development <itemizedlist> 
    9898        <listitem>logDebugInfoFilter is enabled by default</listitem> 
    99         <listitem>the default _cpOnError displays tracebacks in the browser if 
    100         errors occur</listitem> 
     99        <listitem>HTTPErrors (and therefore the default _cpOnError) display 
     100        tracebacks in the browser if errors occur</listitem> 
    101101        <listitem>autoreload is enabled by default</listitem> 
    102102      </itemizedlist></listitem> 
  • trunk/docs/book/xml/errorhandling.xml

    r650 r683  
    66    <title>Exceptions and Error Handling</title> 
    77    <para> 
    8         Exceptions raised inside CherryPy applications result in a call 
    9         to the _cpOnError function.  HTTPError and HTTPRedirect exceptions do not result in calls to 
    10         _cpOnError.  HTTPError exceptions force the server to set  
     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  
    1111        response status and return an error page. 
    1212    </para> 

Hosted by WebFaction

Log in as guest/cpguest to create tickets