PhoenixException class Null safety

Exception yield when a PhoenixSocket closes for unexpected reasons.

Implemented types

Constructors

PhoenixException({PhoenixSocketCloseEvent? socketClosed, PhoenixSocketErrorEvent? socketError, String? channelEvent})
The default constructor for this exception.

Properties

channelEvent String?
The associated channel event.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
message Message?
The error message for this exception.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
socketClosed PhoenixSocketCloseEvent?
The associated close event.
final
socketError PhoenixSocketErrorEvent?
The associated error event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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