18 template<
class Context>
19 EffectStatus operator()(
Context &&)
const {
20 return EffectStatus(
false);
24 struct ReturnEffectStatusT
28 template<
class Context>
29 EffectStatus operator()(
Context &&)
const
50 detail::ReturnEffectStatusT
failEffect(std::string errorCode, std::string errorMsg);
::Kazv::Response Response
Definition: basejob.hpp:105
Definition: location.hpp:10
detail::ReturnEffectStatusT failEffect(std::string errorCode, std::string errorMsg)
An effect that returns a failed EffectStatus with the given error code and message.
Definition: status-utils.cpp:25
constexpr auto simpleFail
A effect that returns a failed EffectStatus upon invocation.
Definition: status-utils.hpp:39
ContextBase< DefaultRetType, A, D > Context
Definition: context.hpp:201
detail::ReturnEffectStatusT failWithResponse(const BaseJob::Response &r)
A effect that returns a failed EffectStatus upon invocation.
Definition: status-utils.cpp:12