SMPPEX.Pdu.MessageState.format

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

Specs

format(state()) :: String.t()

Converts integer message state value to string representation.

Example

iex(1)> SMPPEX.Pdu.MessageState.format(2)
"DELIVERED"
iex(2)> SMPPEX.Pdu.MessageState.format(12345)
"12345"