• This web contains the official documentation of the
TWiki-5.0 Release, code named
HelsinkiRelease. It is a read-only web for reference.
• This is an older release, see
TWiki-6.1 for the latest release documentation.
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}
Generate a summary string. This is mainly for debugging.