BleException class
A categorized communication failure with an optional underlying cause.
- Implemented types
Constructors
- BleException(BleErrorCode code, String message, [Object? cause])
-
Creates an error without discarding the native or application cause.
const
Properties
- cause → Object?
-
Underlying failure, if available. May contain application data.
final
- code → BleErrorCode
-
Stable category suitable for application recovery decisions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable explanation; do not use for programmatic comparisons.
final
- 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