libkeepass 0.2.0
KeePass key database importer/exporter library
Loading...
Searching...
No Matches
keepass::ResourceLimitError Class Referencefinal

Thrown when a parser, decompressor or XML budget is exceeded. More...

#include <exception.hh>

Inheritance diagram for keepass::ResourceLimitError:
keepass::FormatError keepass::Error

Public Member Functions

 ResourceLimitError (std::string msg)
 
 ResourceLimitError (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.
 

Detailed Description

Thrown when a parser, decompressor or XML budget is exceeded.

Member Function Documentation

◆ category()

ErrorCategory keepass::ResourceLimitError::category ( ) const
inlineoverridevirtualnoexcept

Returns the coarse category of this error.

Reimplemented from keepass::FormatError.


The documentation for this class was generated from the following file: