( vs. 1) TWikiEngineExceptionDotPm < TWiki < TWiki

Home - this site is powered by TWiki(R)
TWiki  TWikiEngineExceptionDotPm ( vs. 1)

Welcome | Register | Changes | Topics | Index | Search | Go

 <<O>>  Difference Topic TWikiEngineExceptionDotPm (1 - 2010-05-29 - TWikiContributor)
 

Package =TWiki::EngineException

Exception used to raise an engine related error. This exception has the following fields:

  • status - status code to send to client
  • reason a text string giving the reason for the refusal.

ClassMethod new ($status,$reason[,$response])

  • $status - status code to send to client
  • $reason - string reason for failure
  • $response - custom TWiki::Response object to be sent to client. Optional.

All the above fields are accessible from the object in a catch clause in the usual way e.g. $e->{status} and $e->{reason}

ObjectMethod stringify () -> $string

Generate a summary string. This is mainly for debugging.


View | History: r1 | More

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiEngineExceptionDotPm.

Revision r1 - 2010-05-29 - 14:44:11 - TWikiContributor Edit

(%REVTITLE2% vs. %REVTITLE1%) TWikiEngineExceptionDotPm < TWiki < TWiki