ObservationEnvelopeError class
Thrown when get_stable_observation does not return an observation
envelope this harness can decode.
Deliberately NOT a StateError: DefaultLoopHost._callTransport
translates StateError into VmServiceConnectionLost because
package:vm_service throws a bare StateError after dispose(). A
malformed envelope is a CONTRACT failure with a healthy transport, and
must keep its own identity all the way to the trajectory footer.
Constructors
-
ObservationEnvelopeError({required String isolateId, required Iterable<
String> topLevelKeys}) -
Creates an error for
isolateIdand the responsetopLevelKeys.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolateId → String
-
Isolate pinned by
VmServiceClientfor the failing extension call.final - keySummary → String
-
Footer-safe rendering of topLevelKeys, e.g.
[error, type].no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
-
topLevelKeys
→ List<
String> -
Sorted keys present on the raw VM-service response.
final
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