parent_function_error {gtfsio} | R Documentation |
Parent error function constructor
Description
Creates a function that raises an error that is assigned to the function in
which the error was originally seen. Useful to prevent big repetitive
gtfsio_error()
calls in the "main" functions.
Usage
parent_function_error(message, subclass = character(0))
Arguments
message |
The message to inform about the error. |
subclass |
The subclass of the error. |
See Also
Other error constructors:
gtfsio_error()
[Package gtfsio version 1.1.1 Index]