DuxReiNummariae 1.0.0-alpha.23
Simple and powerful budgeting application
 
Loading...
Searching...
No Matches
drn::networking::HostError Struct Referencefinal

Represents an error with a network's URI hostname. More...

#include <NetworkErrors.h>

Inheritance diagram for drn::networking::HostError:
Collaboration diagram for drn::networking::HostError:

Public Member Functions

 HostError (const ::QString &hostname, const ::QString &message, const std::exception &root={})
 Constructs an object with details about the error in a hostname.
 
 HostError (const char *string, const std::exception &root)=delete
 
- 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's URI hostname.

Constructor & Destructor Documentation

◆ HostError() [1/2]

drn::networking::HostError::HostError ( const ::QString & hostname,
const ::QString & message,
const std::exception & root = {} )

Constructs an object with details about the error in a hostname.

Parameters
hostnameThe hostname related to the error.
messageA descriptive message of the error.
rootThe optional root exception that caused this error.
Here is the call graph for this function:

◆ HostError() [2/2]

drn::networking::HostError::HostError ( const char * string,
const std::exception & root )
delete