Documentation ¶
Overview ¶
Package chaos allows errors to be introduced in a sequencer stack.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChaos = errors.New("chaos")
ErrChaos can be used in tests to differentiate intentionally injected errors versus unexpected errors.
Set is used by Wire.
Functions ¶
This section is empty.
Types ¶
type Chaos ¶
Chaos is a sequencer.Shim that randomly injects errors into the acceptor base on sequencer.StartOptions.Chaos.
Click to show internal directories.
Click to hide internal directories.