Exception: ZeroDrop::TimeoutError

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

Overview

Raised when no email arrives within the timeout.

Instance Method Summary collapse

Constructor Details

#initialize(inbox, timeout) ⇒ TimeoutError

Returns a new instance of TimeoutError.



27
28
29
30
# File 'lib/zerodrop.rb', line 27

def initialize(inbox, timeout)
  super("no email received at #{inbox.inspect} within #{timeout}s — " \
        "check that your app is sending to the correct address")
end