Exception: MidiSmtpServer::Smtpd501Exception

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

Overview

501 Syntax error in parameters or arguments

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) ⇒ Smtpd501Exception

Returns a new instance of Smtpd501Exception.



105
106
107
108
# File 'lib/midi-smtp-server/exceptions.rb', line 105

def initialize(msg = nil)
  # call inherited constructor
  super msg, 501, 'Syntax error in parameters or arguments'
end