Represents an error with a network reply.
More...
#include <NetworkErrors.h>
|
| ReplyError (const FailureReply &, const char *details, const std::exception &={})=delete |
|
| ReplyError (const FailureReply &failure, const ::QString &details, 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 with a network reply.
◆ ReplyError() [1/2]
drn::networking::ReplyError::ReplyError |
( |
const FailureReply & | failure, |
|
|
const ::QString & | details, |
|
|
const std::exception & | root = {} ) |
Full initialisation constructor.
- Parameters
-
failure | The information on the source and cause of the failure. |
details | Any additional details for the error message. |
root | Any root exception triggering the error. |
◆ ReplyError() [2/2]
drn::networking::ReplyError::ReplyError |
( |
const FailureReply & | , |
|
|
const char * | details, |
|
|
const std::exception & | = {} ) |
|
delete |