21 #ifndef GRANTLEE_EXCEPTION_H 22 #define GRANTLEE_EXCEPTION_H 24 #include "grantlee_templates_export.h" 26 #include <QtCore/QString> 41 UnclosedBlockTagError,
47 ObjectReturnTypeInvalid,
90 : m_errorCode(errorCode), m_what(what)
102 const QString what()
const throw() {
return m_what; }
109 Error errorCode()
const {
return m_errorCode; }
Exception(Error errorCode, const QString &what)
An exception for use when implementing template tags.
The Grantlee namespace holds all public Grantlee API.