RemoteErrorException class

An Exception that holds information about an Error thrown in a remote Isolate.

This is necessary because Error instances cannot be moved between different isolates.

An Error thrown by an Actor when handling a message is turned into a RemoteErrorException on the calling isolate. All information about the error, including its String-formatted stack-trace, is available in the resulting RemoteErrorException in the errorAsString field.

Implemented types

Constructors

RemoteErrorException(String errorAsString)
const

Properties

errorAsString String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited