wrench::NotAllowed

class NotAllowed : public wrench::FailureCause

A “operation not allowed” failure cause.

Public Functions

std::shared_ptr<Service> getService()

Get the service that caused the error.

Returns:

the service

virtual std::string toString() override

Get the human-readable failure message.

Returns:

the message