Mua.TransportError exception (Mua v0.2.5)
View SourceRepresents an error with the transport used by an SMTP connection.
Contains the following fields:
:reason- a term representing the error reason. The value of this field can be::timeout- if there's a timeout in interacting with the socket.:closed- if the connection has been closed.:inet.posix/0- if there's any other error with the socket, such as:econnrefusedor:nxdomain.:ssl.error_alert/0- if there's an SSL error.
Summary
Functions
Callback implementation for Exception.message/1.
Types
@type t() :: %Mua.TransportError{ __exception__: true, reason: :timeout | :closed | :inet.posix() | :ssl.error_alert() }
Functions
Callback implementation for Exception.message/1.