Throws am error and logs it too with biodb logger.
error(...)
...
Values to be passed to sprintf().
Nothing.
# Throws an error: tryCatch(biodb::error('Index is %d.', 10), error=function(e){e$message})