Exception: MidiSmtpServer::Smtpd500Exception

Inherits:
SmtpdException
  • Object
show all
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

Methods inherited from SmtpdException

#smtpd_result

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