Exception: MidiSmtpServer::Smtpd421Exception
- Inherits:
-
SmtpdException
- Object
- RuntimeError
- SmtpdException
- MidiSmtpServer::Smtpd421Exception
- Defined in:
- lib/midi-smtp-server/exceptions.rb
Overview
421 <domain> Service not available, closing transmission channel
Instance Attribute Summary
Attributes inherited from SmtpdException
#smtpd_return_code, #smtpd_return_text
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Smtpd421Exception
constructor
A new instance of Smtpd421Exception.
Methods inherited from SmtpdException
Constructor Details
#initialize(msg = nil) ⇒ Smtpd421Exception
Returns a new instance of Smtpd421Exception.
53 54 55 56 |
# File 'lib/midi-smtp-server/exceptions.rb', line 53 def initialize(msg = nil) # call inherited constructor super msg, 421, 'Service too busy or not available, closing transmission channel' end |