method
check_response
check_response(res)
private
Hide source
# File lib/net/smtp.rb, line 946 def check_response(res) unless res.success? raise res.exception_class, res.message end end