21 #include <quentier/exception/IQuentierException.h> 22 #include <quentier/types/ErrorString.h> 24 #include <quentier/utility/Fwd.h> 25 #include <quentier/utility/Linkage.h> 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;
123 [[nodiscard]]
virtual QFuture<void> writePassword(
124 QString service, QString key, QString password) = 0;
139 [[nodiscard]]
virtual QFuture<QString> readPassword(
140 QString service, QString key)
const = 0;
154 [[nodiscard]]
virtual QFuture<void> deletePassword(
155 QString service, QString key) = 0;
The IQuentierException class represents the interface for exceptions specific to libquentier and appl...
Definition: IQuentierException.h:36
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:42
ErrorCode
Definition: IKeychainService.h:45
Definition: ApplicationSettings.h:27
The IKeychainService interface provides the ability to interact with the storage of sensitive data - ...
Definition: IKeychainService.h:37
The IKeychainService::Exception class is the base class for exceptions returned inside QFutures from ...
Definition: IKeychainService.h:91