new_callr_crash_error: Create an error object

View source: R/error.R

new_callr_crash_errorR Documentation

Create an error object

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

new_callr_crash_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 June 22, 2024, 6:48 p.m.