smppex v2.2.6 SMPPEX.Pdu.Errors View Source
Module for operating with SMPP errors.
Link to this section Summary
Functions
Converts atom representing SMPP error to its integer value
Converts integer SMPP error code to text error description
Converts integer SMPP error code to string error identifier
Link to this section Types
Link to this section Functions
Converts atom representing SMPP error to its integer value.
Example:
iex(1)> SMPPEX.Pdu.Errors.code_by_name(:ROK)
0
Converts integer SMPP error code to text error description.
Example
iex(1)> SMPPEX.Pdu.Errors.description(0)
"No Error"
iex(2)> SMPPEX.Pdu.Errors.description(12345)
"12345"