YamuxStreamTimeoutException class
Exception thrown when a Yamux stream operation times out
- Inheritance
-
- Object
- YamuxException
- YamuxStreamTimeoutException
Constructors
-
YamuxStreamTimeoutException.new(String message, {required Duration timeout, required String operation, 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
- operation → String
-
final
- originalException → dynamic
-
finalinherited
- originalStackTrace → StackTrace?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId → int
-
final
- timeout → Duration
-
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