internal package
Foswiki::EngineException
On this page:
internal package
Foswiki::EngineException is a
Error
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 Foswiki::Response object to be sent to client. Optional.
$e->{status}
and $e->{reason}