Exception: MidiSmtpServer::Smtpd500Exception
- Inherits:
-
SmtpdException
- Object
- RuntimeError
- SmtpdException
- MidiSmtpServer::Smtpd500Exception
- Defined in:
- lib/midi-smtp-server/exceptions.rb
Overview
500 Syntax error, command unrecognised or error in parameters or arguments.
This may include errors such as command line too long
Instance Attribute Summary
Attributes inherited from SmtpdException
#smtpd_return_code, #smtpd_return_text
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Smtpd500Exception
constructor
A new instance of Smtpd500Exception.
Methods inherited from SmtpdException
Constructor Details
#initialize(msg = nil) ⇒ Smtpd500Exception
Returns a new instance of Smtpd500Exception.
95 96 97 98 |
# File 'lib/midi-smtp-server/exceptions.rb', line 95 def initialize(msg = nil) # call inherited constructor super msg, 500, 'Syntax error, command unrecognised or error in parameters or arguments' end |