PhoenixException class
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.
no setterinherited
- message → Message?
-
The error message for this exception.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socketClosed → PhoenixSocketCloseEvent?
-
The associated close event.
final
- socketError → PhoenixSocketErrorEvent?
-
The associated error event.
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