Last Modified
2013-07-23 10:34:12 +0000
Requires

Description

Descendents of class Warning are used to raise structured warnings. They programmers to explicitly supress certain kinds of warnings and provide additional information in contrast to the plain warn method. They implement an Exception-like interface and carry information about the warning -- its type (the warning's class name), an optional descriptive string, and optional traceback information. Programs may subclass Warning to add additional information.

Large portions of this class's documentation are taken from the Exception RDoc.