/// <summary> /// Mark a failed call through CircuitBreaker. Sometimes the callee of CircuitBreaker sends back a message to the /// caller Actor. In such a case, it is convenient to mark a failed call instead of using Future /// via <see cref="WithCircuitBreaker"/> /// </summary> public void Fail() => _currentState.CallFails();
/// <summary> /// Mark a failed call through CircuitBreaker. Sometimes the callee of CircuitBreaker sends back a message to the /// caller Actor. In such a case, it is convenient to mark a failed call instead of using Future /// via <see cref="WithCircuitBreaker"/> /// </summary> public void Fail() => _currentState.CallFails(new UserCalledFailException());