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


[Package biodb version 1.2.0 Index]