|
libkeepass 0.2.0
KeePass key database importer/exporter library
|
Thrown when a database uses a valid but unsupported format feature. More...
#include <exception.hh>
Public Member Functions | |
| UnsupportedFeatureError (std::string msg) | |
| UnsupportedFeatureError (std::string msg, uint64_t offset) | |
| ErrorCategory | category () const noexcept override |
| Returns the coarse category of this error. | |
Public Member Functions inherited from keepass::FormatError | |
| FormatError (std::string msg) | |
| FormatError (std::string msg, uint64_t offset) | |
| const char * | what () const noexcept override |
| std::optional< uint64_t > | offset () const noexcept |
| Returns the byte offset of the failure, if known. | |
Thrown when a database uses a valid but unsupported format feature.
This derives from FormatError so existing callers that treat all format problems alike keep working, while new callers can distinguish an unsupported KDBX version, cipher or KDF from actual corruption.
|
inlineoverridevirtualnoexcept |
Returns the coarse category of this error.
Reimplemented from keepass::FormatError.