IsolateRpcExactError class

Thrown by an isolate RPC handler to send an EXACT error string to the client, bypassing serveIsolateRpc's default '$e\n$st' stringification.

Use this to preserve a wire-format error contract — e.g. a prefix the main side string-matches via startsWith — where the generic Bad state: ...\n<stack> wrapping would break the match.

Lives in its own dart:isolate-free library so web/WASM consumers (e.g. throwDecodeFailure) can reference it without pulling in the isolate server implementation.

Implemented types

Constructors

IsolateRpcExactError(String message)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The verbatim string sent as {'id': id, 'error': message}.
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