Exception: MList::DoubleDeliveryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mlist.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ DoubleDeliveryError

Returns a new instance of DoubleDeliveryError.



32
33
34
# File 'lib/mlist.rb', line 32

def initialize(message)
  super("A message should never be delivered more than once. An attempt was made to deliver this message:\n#{message.inspect}")
end