catch_error: Evaluate an expression and return its error

View source: R/app_check.R

catch_errorR Documentation

Evaluate an expression and return its error

Description

Lets each check in app_check() record a failure in its own results.

Usage

catch_error(expr)

Arguments

expr

An expression, evaluated in the calling function's environment.

Value

NULL when expr finishes without an error, otherwise the error condition.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.