Class: RestMan::Exceptions::Timeout
- Inherits:
-
RequestTimeout
- Object
- RequestTimeout
- RestMan::Exceptions::Timeout
- Defined in:
- lib/restman/exceptions/timeout.rb
Overview
:include: _doc/lib/restman/exceptions/timeout.rdoc
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message = nil, original_exception = nil) ⇒ Timeout
constructor
A new instance of Timeout.
Constructor Details
#initialize(message = nil, original_exception = nil) ⇒ Timeout
Returns a new instance of Timeout.
9 10 11 12 13 |
# File 'lib/restman/exceptions/timeout.rb', line 9 def initialize(=nil, original_exception=nil) super(nil, nil) self. = if self.original_exception = original_exception if original_exception end |