SMPPEX.Session.handle_socket_error

You're seeing just the callback handle_socket_error, go back to SMPPEX.Session module for more information.
Link to this callback

handle_socket_error(error, state)

View Source

Specs

handle_socket_error(error :: term(), state()) ::
  {exit_reason :: term(), state()}

Invoked when the connection's socket reported a error.

The returned value should be {reason, state}. The session stops then with reason.