SMPPEX.Pdu.Errors.format

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

Specs

format(error_code()) :: String.t()

Converts integer SMPP error code to string error identifier.

Example

iex(1)> SMPPEX.Pdu.Errors.format(0)
"ROK"
iex(2)> SMPPEX.Pdu.Errors.format(12345)
"12345"