Is the object a 'miraiError'. When execution in a mirai process fails, the
error message is returned as a character string of class 'miraiError' and
'errorValue'. To test for all error conditions, including timeouts etc.,
is_error_value
should be used instead.
is_mirai_error(x)
an object.
Logical TRUE if 'x' is of class 'miraiError', FALSE otherwise.
if (interactive()) {
# Only run examples in interactive R sessions
m <- mirai(stop())
call_mirai(m)
is_mirai_error(m$data)
}