Is the object an error value, such as a mirai timeout, a 'miraiError' from failed execution within a mirai or a 'miraiInterrupt' resulting from the user interrupt of an ongoing mirai evaluation.

is_error_value(x)

Arguments

x

an object.

Value

Logical TRUE if 'x' is of class 'errorValue', FALSE otherwise.

Examples

is_error_value(1L)
#> [1] FALSE