| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #include "exceptions/feedfetchexception.h" |
| 4 | |
| 5 | FeedFetchException::FeedFetchException(Feed::Status feed_status, const QString& message, const QVariant& data) |
| 6 | : ApplicationException(message), m_data(data), m_feedStatus(feed_status) {} |
| 7 | |
| 8 | Feed::Status FeedFetchException::feedStatus() const { |
| 9 | return m_feedStatus; |
| 10 | } |
| 11 | |
| 12 | QVariant FeedFetchException::data() const { |
| 13 | return m_data; |
| 14 | } |