make_error: Create an error object
Description
There are two kinds of errors, both have class callr_error:
the first one is thrown after a timeout: callr_timeout_error.
the second one is thrown after an R error (in the other session):
callr_status_error.
Usage
make_error(out, msg = NULL)
Arguments
out
The object returned by run().
msg
An extra message to add to the error message.