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.

r1 - 29 May 2010 - 14:44:11 - TWikiContributor
 
Linux & Open Source for AT91 Microchip Microprocessors

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries. This site is powered by the TWiki collaboration platform

Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.

Ideas, requests, contributions ? Connect to LinksToCommunities page.

Syndicate this siteRSS ATOM