RemoteException class final

An exception thrown when a operation fails on the remote worker.

As the worker and the main tab have been compiled independently and don't share a class hierarchy or object representations, it is impossible to send typed exception objects. Instead, this exception wraps every error or exception thrown by the remote worker and contains the toString representation in message.

Implemented types

Constructors

RemoteException({required String message})
Creates a remote exception from the message thrown.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The Object.toString representation of the original exception.
final
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