Artificial errors injection framework.
Classes | |
class | Hook |
struct | Settings |
Artificial error injection settings. More... | |
Enumerations | |
enum class | Verdict { Error , Timeout , MaxDelay , RandomDelay , Skip } |
What error injection hook may decide to do. More... | |
Functions | |
Settings | Parse (const yaml_config::YamlConfig &value, formats::parse::To< Settings >) |
|
strong |
What error injection hook may decide to do.
Enumerator | |
---|---|
Error | return error |
Timeout | wait for deadline and return error |
MaxDelay | wait for deadline w/o returning an error |
RandomDelay | wait for [0; deadline] w/o returning an error |
Skip | no error |
Definition at line 14 of file settings.hpp.