BlueHeron.ErrorCode (blue_heron v0.4.1) View Source
Defines all error codes and functions to map between error code and name.
When a command fails, or an LMP, LL, or AMP message needs to indicate a failure, error codes are used to indicate the reason for the error. Error codes have a size of one octet.
Reference: Version 5.0, Vol 2, Part D, 1
Link to this section Summary
Link to this section Functions
Specs
to_atom(non_neg_integer()) :: atom()
Specs
to_code(non_neg_integer() | atom()) :: non_neg_integer() | :error
Specs
to_code!(non_neg_integer() | atom()) :: non_neg_integer()