| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef FILTERINGEXCEPTION_H |
| 4 | #define FILTERINGEXCEPTION_H |
| 5 | |
| 6 | #include "exceptions/applicationexception.h" |
| 7 | |
| 8 | #include <QJSValue> |
| 9 | |
| 10 | class RSSGUARD_DLLSPEC FilteringException : public ApplicationException { |
| 11 | public: |
| 12 | explicit FilteringException(QJSValue::ErrorType js_error, QString message = QString()); |
| 13 | |
| 14 | QJSValue::ErrorType errorType() const; |
| 15 | |
| 16 | private: |
| 17 | QJSValue::ErrorType m_errorType; |
| 18 | }; |
| 19 | |
| 20 | #endif // FILTERINGEXCEPTION_H |