error: Throw an error and log it too.

View source: R/fcts_biodb.R

errorR Documentation

Throw an error and log it too.

Description

Throws am error and logs it too with biodb logger.

Usage

error(...)

Arguments

...

Values to be passed to sprintf().

Value

Nothing.

Examples

# Throws an error:
tryCatch(biodb::error('Index is %d.', 10), error=function(e){e$message})


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.