e_message_capture: Capture a message, warning, or error to take actions

View source: R/e_message_capture.R

e_message_captureR Documentation

Capture a message, warning, or error to take actions

Description

Capture a message, warning, or error to take actions

Usage

e_message_capture(f)

Arguments

f

a function that might return a message, warning, or error

Value

if there was an exception, return its content

Examples

e_message_capture(test_message)(1)

erikerhardt/erikmisc documentation built on April 17, 2025, 10:48 a.m.