BtcConnectionException class Exceptions
Thrown when a connection attempt fails.
- Inheritance
-
- Object
- BtcException
- BtcConnectionException
Constructors
- BtcConnectionException(String message, {String? address, BtcConnectFailure cause = BtcConnectFailure.unknown})
-
Creates a BtcConnectionException with a
messageand optionaladdress.const
Properties
- address → String?
-
The address of the device that failed to connect.
final
- cause → BtcConnectFailure
-
Why the connection failed, as far as the platform could tell.
final
- code → String?
-
Optional error code from the native platform.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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