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

Represents an error with a network reply. More...

#include <NetworkErrors.hpp>

Inheritance diagram for drn::networking::ReplyError:
Collaboration diagram for drn::networking::ReplyError:

Public Member Functions

 ReplyError (const FailureReply &, const char *details, const std::exception &={})=delete
 ReplyError (const FailureReply &failure, const ::QString &details, 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 with a network reply.

Constructor & Destructor Documentation

◆ ReplyError() [1/2]

drn::networking::ReplyError::ReplyError ( const FailureReply & failure,
const ::QString & details,
const std::exception & root = {} )

Full initialisation constructor.

Parameters
failureThe information on the source and cause of the failure.
detailsAny additional details for the error message.
rootAny root exception triggering the error.

◆ ReplyError() [2/2]

drn::networking::ReplyError::ReplyError ( const FailureReply & ,
const char * details,
const std::exception & = {} )
delete