3k Associates Inc HP3000 FAQ TWiki TWiki > TWiki > TWikiOopsExceptionDotPm TWiki webs:
Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

Package TWiki::OopsException

extends Error

Exception used to raise a request to redirect to an Oops URL. An OopsException? thrown anywhere in the code will redirect the browser to a url based on the oops script. oops requires a template parameter, that is the name of a template file from the templates directory. This file will be expanded and the parameter values passed to the exception instantiated. The result will be shown in the browser.

ClassMethod new ($template,...)

The remaining parameters are interpreted as key-value pairs. The following keys are used:

ObjectMethod stringify () -> $string

Generates a string representation for the object, mainly for debugging.



Topic TWikiOopsExceptionDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r1 More }

This site is powered by the TWiki collaboration platformCopyright © 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.TWikiOopsExceptionDotPm