is_remote_error()
Test whether a received channel value is a remote error.
Usage
is_remote_error(x)An uncaught error in a channel peer crosses as a value, not a raised exception. The value is a TaskError carrying the original exception’s class name as remote_type and its traceback text as detail; raise it to propagate the error.
Returns
True for a received remote error, False otherwise.