% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shared__utils_try.R
\name{.try_or}
\alias{.try_or}
\title{Try Expression with Fallback}
\usage{
.try_or(expr, default = NULL)
}
\arguments{
\item{expr}{Expression to evaluate}

\item{default}{Value to return on error (default: NULL)}
}
\value{
Result of \code{expr}, or \code{default} on error
}
\description{
Evaluates an expression, returning a default value on error.
Replaces the common \code{tryCatch(expr, error = function(e) NULL)} pattern.
}
\keyword{internal}
