#if NETSTANDARD1_3
namespace Unosquare.Swan.Exceptions
{
using Networking;
///
/// Defines an SMTP Exceptions class.
///
public class SmtpException : System.Exception
{
///
/// Initializes a new instance of the class with a message.
///
/// The message.
public SmtpException(string message)
: base(message)
{
}
///
/// Initializes a new instance of the class.
///
/// The SmtpStatusCode reply.
/// The exception message.
public SmtpException(SmtpStatusCode replyCode, string message)
: base($"{message} ReplyCode: {replyCode}")
{
}
}
}
#endif