error0: Throw an error and log it too.

View source: R/fcts_biodb.R

error0R Documentation

Throw an error and log it too.

Description

Throws an error and logs it too with biodb logger, using paste0().

Usage

error0(...)

Arguments

...

Values to be passed to paste0().

Value

Nothing.

Examples

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


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