Function desfire::error_from_status
Defined in File data.hpp
Function Documentation
-
error desfire::error_from_status(bits::status s)
Converts an internal
bits::status
object into its corresponding error code.- Parameters:
s – A status that represents an error.
- Returns:
Simply the cast of
s
to error; ifs
does not represent an error, returns error::malformed.