R: Create an error object

make_error {callr} | R 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

    make_error(out)

### Arguments

`out` | The object returned by `run()`.

[Package callr version 2.0.2 Index]