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