| Grantlee 5.3.0
    | 
An exception for use when implementing template tags. More...
#include <grantlee/exception.h>
| Public Member Functions | |
| Exception (Error errorCode, const QString &what) | |
The Exception class can be used when implementing AbstractNodeFactory::getNode. An exception can be thrown to indicate that the syntax of a particular tag is invalid.
For example, the following template markup should throw an error because the include tag should have exactly one argument:
The corresponding implementation of IncludeNodeFactory::getNode is
Definition at line 84 of file exception.h.
| 
 | inline | 
Creates an exception for the error errorCode and the verbose message what 
Definition at line 91 of file exception.h.
| 
 | inlinevirtual | ||||||||||||
Definition at line 96 of file exception.h.