Helper to convert sending status code to message.
Convert the given code to atom.
@spec to_status(integer()) :: atom()