21#include <quentier/exception/IQuentierException.h>
22#include <quentier/types/ErrorString.h>
24#include <quentier/utility/Fwd.h>
25#include <quentier/utility/Linkage.h>
31namespace quentier::utility {
81 friend QUENTIER_EXPORT QTextStream & operator<<(
82 QTextStream & strm, ErrorCode errorCode);
84 friend QUENTIER_EXPORT QDebug & operator<<(
85 QDebug & dbg, ErrorCode errorCode);
99 [[nodiscard]]
ErrorCode errorCode()
const noexcept;
100 [[nodiscard]] QString exceptionDisplayName()
const override;
102 void raise()
const override;
103 [[nodiscard]]
Exception * clone()
const override;
124 QString service, QString key, QString password) = 0;
140 QString service, QString key)
const = 0;
155 QString service, QString key) = 0;
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:43
The IQuentierException class represents the interface for exceptions specific to libquentier and appl...
Definition: IQuentierException.h:39
The IKeychainService::Exception class is the base class for exceptions returned inside QFutures from ...
Definition: IKeychainService.h:92
The IKeychainService interface provides the ability to interact with the storage of sensitive data - ...
Definition: IKeychainService.h:38
virtual QFuture< void > deletePassword(QString service, QString key)=0
ErrorCode
Definition: IKeychainService.h:46
virtual QFuture< void > writePassword(QString service, QString key, QString password)=0
virtual QFuture< QString > readPassword(QString service, QString key) const =0