StatusWordError class final
SW1 in 64..6F: the card refused the command and ran nothing.
reason names the handful of status words worth branching on and is null for the rest -- the checking and execution errors run to dozens of values, most of them application-specific, so an unnamed one is still an error rather than something unrecognised.
- Inheritance
-
- Object
- StatusWord
- StatusWordError
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → StatusWordErrorReason?
-
The recognised meaning, or null when only value says what went wrong.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusWord1 → int
-
SW1.
finalinherited
- statusWord2 → int
-
SW2.
finalinherited
- value → int
-
SW1 and SW2 as one 16-bit value, which is how card specifications write them.
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