Package trac :: Package wiki :: Module formatter :: Class MacroError

Class MacroError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
              core.TracBaseError --+    
                                   |    
                      core.TracError --+
                                       |
                                      MacroError

Exception raised on incorrect macro usage.

The exception is trapped by the wiki formatter and the message is rendered in a pre tag, wrapped in a div with class system-message.


Since: 1.0.11

Instance Methods

Inherited from core.TracError: __init__, __unicode__

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables

Inherited from core.TracBaseError: title

Properties

Inherited from core.TracError: message

Inherited from exceptions.BaseException: args

Inherited from object: __class__