% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core__package_state.R
\name{.circuit_breaker_record}
\alias{.circuit_breaker_record}
\title{Record Result in Circuit Breaker}
\usage{
.circuit_breaker_record(status, verbose = FALSE)
}
\arguments{
\item{status}{Either "success" or "error"}

\item{verbose}{Print message when breaker trips}
}
\value{
Invisibly returns whether breaker is now tripped
}
\description{
Records a success or error in the circuit breaker's sliding window.
If error rate exceeds threshold, trips the breaker.
}
\keyword{internal}
