error0 {biodb}R 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})


[Package biodb version 1.2.2 Index]