10 #ifndef WRENCH_NOT_ALLOWED_H
11 #define WRENCH_NOT_ALLOWED_H
16 #include "wrench/services/Service.h"
17 #include "FailureCause.h"
33 NotAllowed(std::shared_ptr<Service> service, std::string &error_message);
42 std::shared_ptr<Service> service;
43 std::string error_message;
51 #endif //WRENCH_NOT_ALLOWED_H
NotAllowed(std::shared_ptr< Service > service, std::string &error_message)
Constructor.
Definition: NotAllowed.cpp:23
Definition: Action.cpp:28
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
A "operation not allowed" failure cause.
Definition: NotAllowed.h:28
std::shared_ptr< Service > getService()
Get the service that caused the error.
Definition: NotAllowed.cpp:32
std::string toString() override
Get the human-readable failure message.
Definition: NotAllowed.cpp:40