createError: Create and throw errors
Description
These functions are convenience functions for creating and throwing errors.
Usage
createError(formats, code = NULL, ...)reject(formats, code = NULL, ...)
Arguments
- formats
a format string which is passed to format
- code
an error code
- ...
additional arguments passed to format