| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #include "exceptions/filteringexception.h" |
| 4 | |
| 5 | FilteringException::FilteringException(QJSValue::ErrorType js_error, QString message) |
| 6 | : ApplicationException(message), m_errorType(js_error) {} |
| 7 | |
| 8 | QJSValue::ErrorType FilteringException::errorType() const { |
| 9 | return m_errorType; |
| 10 | } |