Represents an error during the conversion process with parsing the data.
More...
#include <ConversionErrors.h>
|
| ParsingError (const QByteArray &, const char *, const std::exception &={})=delete |
|
| ParsingError (const QByteArray &data, const QString &error, const std::exception &root={}) |
| Full initialisation constructor.
|
|
| Error (const ::QString &message) |
| Error message constructor.
|
|
| Error (const ::QString &message, const std::exception &root) |
| Error and supplementary context data constructor.
|
|
| Error (const char *)=delete |
|
| Error (const char *, const std::exception &)=delete |
|
const ::QString & | message () const noexcept |
| An accessor to the error message.
|
|
Represents an error during the conversion process with parsing the data.
◆ ParsingError() [1/2]
drn::conversion::ParsingError::ParsingError |
( |
const QByteArray & | data, |
|
|
const QString & | error, |
|
|
const std::exception & | root = {} ) |
Full initialisation constructor.
- Parameters
-
data | The data that contains the parsing error. |
error | The extra details surrounding the parsing of the error. |
root | Any root exception that triggered during the parsing. |
◆ ParsingError() [2/2]
drn::conversion::ParsingError::ParsingError |
( |
const QByteArray & | , |
|
|
const char * | , |
|
|
const std::exception & | = {} ) |
|
delete |