Exception: MidiSmtpServer::Smtpd554Exception

Inherits:
SmtpdException
  • Object
show all
Defined in:
lib/midi-smtp-server/exceptions.rb

Overview

554 Transaction failed

Instance Attribute Summary

Attributes inherited from SmtpdException

#smtpd_return_code, #smtpd_return_text

Instance Method Summary collapse

Methods inherited from SmtpdException

#smtpd_result

Constructor Details

#initialize(msg = nil) ⇒ Smtpd554Exception

Returns a new instance of Smtpd554Exception.



186
187
188
189
# File 'lib/midi-smtp-server/exceptions.rb', line 186

def initialize(msg = nil)
  # call inherited constructor
  super msg, 554, 'Transaction failed'
end