Represents the three states of a circuit breaker.
Normal operation - all calls pass through and failures are counted
Testing recovery - allows limited test calls to check if service has recovered
Circuit is tripped - all calls fail immediately without invoking the function
Represents the three states of a circuit breaker.