YamuxStreamProtocolException class
Exception thrown when a Yamux stream encounters a protocol error
- Inheritance
-
- Object
- YamuxException
- YamuxStreamProtocolException
Constructors
-
YamuxStreamProtocolException.new(String message, {required String protocolError, required int streamId, Exception? originalException, StackTrace? originalStackTrace, Map<
String, dynamic> ? context})
Properties
-
context
→ Map<
String, dynamic> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
finalinherited
- originalException → dynamic
-
finalinherited
- originalStackTrace → StackTrace?
-
finalinherited
- protocolError → 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