10 #ifndef WRENCH_NETWORK_ERROR_H
11 #define WRENCH_NETWORK_ERROR_H
16 #include "FailureCause.h"
62 bool while_sending =
false;
63 std::string mailbox =
"";
73 #endif //WRENCH_NETWORK_ERROR_H
OperationType
Enumerated type to describe whether the network error occured while sending or receiving.
Definition: NetworkError.h:33
std::string getMailbox()
Returns the mailbox name on which the error occurred.
Definition: NetworkError.cpp:70
A "network error (or endpoint is down)" failure cause.
Definition: NetworkError.h:28
Definition: Action.cpp:28
std::string toString() override
Get the human-readable failure message.
Definition: NetworkError.cpp:78
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
ErrorType
Enumerated type to describe the type of the network error.
Definition: NetworkError.h:40
bool isTimeout()
Returns whether the network error was a timeout.
Definition: NetworkError.cpp:62
bool whileSending()
Returns whether the network error occurred while sending.
Definition: NetworkError.cpp:54
bool whileReceiving()
Returns whether the network error occurred while receiving.
Definition: NetworkError.cpp:46