Exception: MidiSmtpServer::Smtpd502Exception

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

Overview

502 Command not implemented

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

Returns a new instance of Smtpd502Exception.



115
116
117
118
# File 'lib/midi-smtp-server/exceptions.rb', line 115

def initialize(msg = nil)
  # call inherited constructor
  super msg, 502, 'Command not implemented'
end