new_callr_error: Create an error object

Description Usage Arguments

View source: R/error.R

Description

There are two kinds of errors, both have class callr_error:

  1. the first one is thrown after a timeout: callr_timeout_error.

  2. the second one is thrown after an R error (in the other session): callr_status_error.

Usage

1
new_callr_error(out, msg = NULL)

Arguments

out

The object returned by run().

msg

An extra message to add to the error message.


callr documentation built on April 20, 2021, 5:06 p.m.