Is the object an error value generated by the system or a 'miraiError' from failed execution within a mirai. Includes user-specified errors such as mirai timeouts.

is_error_value(x)

Arguments

x

an object.

Value

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

Examples

is_error_value(1L)
#> [1] FALSE