Exception: ZeroDrop::TimeoutError
- Inherits:
-
StandardError
- Object
- StandardError
- ZeroDrop::TimeoutError
- Defined in:
- lib/zerodrop.rb
Overview
Raised when no email arrives within the timeout.
Instance Method Summary collapse
-
#initialize(inbox, timeout) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
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 |