module Net
module Net::SMTPError
class Net::SMTP
class Net::SMTP::Address
class Net::SMTP::Response
class Net::SMTPAuthenticationError
class Net::SMTPFatalError
class Net::SMTPServerBusy
class Net::SMTPSyntaxError
class Net::SMTPUnknownError
class Net::SMTPUnsupportedCommand
net-smtp
0.3.3
# check_response
def check_response(res) unless res.success? raise res.exception_class.new(res) end end