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