|
Resilient
|
A detector which always detects failure. More...
#include <always.hpp>
Public Member Functions | |
| template<typename T > | |
| returned_failure_t< failure_types > | detect (ICallResult< T > &result) |
| Always detect AlwaysError failure and consume possible exceptions. More... | |
Public Member Functions inherited from resilient::StatelessDetector< Always > | |
| NoState | preRun () |
| Does nothing. More... | |
| decltype(auto) | postRun (NoState, ICallResult< T > &result) |
Detect failures by invoking the Detector. More... | |
| decltype(auto) | postRun (NoState, ICallResult< T > &result) const |
Additional Inherited Members | |
Public Types inherited from resilient::FailureDetectorTag< AlwaysError > | |
| using | failure_types = std::tuple< FailureTypes... > |
| Tuple composed of the possible failure types the detector can detect. More... | |
A detector which always detects failure.
|
inline |
Always detect AlwaysError failure and consume possible exceptions.
| T | The type returned by the detected function. |
| result | The result of invoking the detected function. |
1.8.11