21 #ifndef GRANTLEE_EXCEPTION_H
22 #define GRANTLEE_EXCEPTION_H
24 #include "grantlee_core_export.h"
26 #include <QtCore/QString>
42 UnclosedBlockTagError,
48 ObjectReturnTypeInvalid,
88 : m_errorCode( errorCode ), m_what( what ) {}
98 const QString what()
const throw() {
107 Error errorCode()
const {
Exception(Error errorCode, const QString &what)
An exception for use when implementing template tags.