WebTransportException class final

Raised when the native layer reports a non-success status.

Implemented types

Constructors

WebTransportException(int status, String message, {Object? operation})

Properties

code → wt_status_t?
The parsed status code, when it is one this binding knows about.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
True when the failure just means "this stream/connection is gone".
no setter
message → String
Human readable description reported by the native layer.
final
operation → Object?
The operation that failed, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
The raw wt_status_t value.
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