tryCatchLog: Error and warning trapping and logging

View source: R/errorLogging.R

tryCatchLogR Documentation

Error and warning trapping and logging

Description

Traps errors and warnings, logging them out

Usage

tryCatchLog(expr)

Arguments

expr

An expression which will have errors caught

Details

Don't nest this- it uses a global Messenger. value will be NULL if there are any caught errors.

Value

A list with value, errorList, and warningList


mcneilco/racas documentation built on Feb. 22, 2024, 10:07 p.m.