#include <userver/error_injection/settings.hpp>
Artificial error injection settings.
Definition at line 26 of file settings.hpp.
Public Attributes | |
bool | enabled {false} |
error injection enabled | |
double | probability {0} |
error probability from range [0, 1] | |
std::vector< Verdict > | possible_verdicts |
possible verdicts, will be chosen randomly, Verdict::Error if unspecified | |
bool error_injection::Settings::enabled {false} |
error injection enabled
Definition at line 28 of file settings.hpp.
std::vector<Verdict> error_injection::Settings::possible_verdicts |
possible verdicts, will be chosen randomly, Verdict::Error if unspecified
Definition at line 34 of file settings.hpp.
double error_injection::Settings::probability {0} |
error probability from range [0, 1]
Definition at line 31 of file settings.hpp.