Represents an error with a network's URI hostname.
More...
#include <NetworkErrors.h>
|
| 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 |
|
| 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 with a network's URI hostname.
◆ 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
-
hostname | The hostname related to the error. |
message | A descriptive message of the error. |
root | The optional root exception that caused this error. |
◆ HostError() [2/2]
drn::networking::HostError::HostError |
( |
const char * | string, |
|
|
const std::exception & | root ) |
|
delete |