Reason
Why the session ended.
May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.
Since
1.0.0
Entries
An answer's checksum did not match the one computed over it.
An answer had no checksum, so it could not be checked.
An answer's data objects were not in the defined form.
A decrypted answer did not end in the defined padding.
The chip answered without protection with a status word that ends a session.
The chip answered a protected command with a plain length hint (61xx or 6Cxx).
The session had already ended; nothing was sent.
An answer's status word came without the checksum that covers it, and it was not the one plain answer a session allows (an empty 9000): the chip's answer cannot be relied on.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.