Creates a circuit breaker.
breaker name.
Result.ok(breaker), or Result.error(CircuitBreakerError.INVALID_ARGUMENT) when name is empty.