SMPPEX.Pdu.Errors.code_by_name

You're seeing just the function code_by_name, go back to SMPPEX.Pdu.Errors module for more information.

Specs

code_by_name(error_name()) :: error_code()

Converts atom representing SMPP error to its integer value.

Example:

iex(1)> SMPPEX.Pdu.Errors.code_by_name(:ROK)
0