YamuxStreamStateException class

Exception thrown when a Yamux stream is in an invalid state for the requested operation

Inheritance

Constructors

YamuxStreamStateException.new(String message, {required String currentState, required String requestedOperation, required int streamId, dynamic originalException, StackTrace? originalStackTrace, Map<String, dynamic>? context})

Properties

context Map<String, dynamic>
finalinherited
currentState String
final
hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
originalException → dynamic
finalinherited
originalStackTrace StackTrace?
finalinherited
requestedOperation String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamId int
final
timestamp DateTime
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
withContext(Map<String, dynamic> additionalContext) YamuxException
Creates a copy with additional context
inherited

Operators

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