DuxReiNummariae 1.1.0-alpha.19
Simple and powerful budgeting application
Loading...
Searching...
No Matches
drn::conversion::ParsingError Struct Referencefinal

Represents an error during the conversion process with parsing the data. More...

#include <ConversionErrors.hpp>

Inheritance diagram for drn::conversion::ParsingError:
Collaboration diagram for drn::conversion::ParsingError:

Public Member Functions

 ParsingError (const QByteArray &, const char *, const std::exception &={})=delete
 ParsingError (const QByteArray &data, const QString &error, const std::exception &root={})
 Full initialisation constructor.
Public Member Functions inherited from drn::foundation::Error
 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.

Detailed Description

Represents an error during the conversion process with parsing the data.

Constructor & Destructor Documentation

◆ ParsingError() [1/2]

drn::conversion::ParsingError::ParsingError ( const QByteArray & data,
const QString & error,
const std::exception & root = {} )

Full initialisation constructor.

Parameters
dataThe data that contains the parsing error.
errorThe extra details surrounding the parsing of the error.
rootAny root exception that triggered during the parsing.

◆ ParsingError() [2/2]

drn::conversion::ParsingError::ParsingError ( const QByteArray & ,
const char * ,
const std::exception & = {} )
delete