Class: Trilogy::TimeoutError
- Inherits:
-
Errno::ETIMEDOUT
- Object
- Errno::ETIMEDOUT
- Trilogy::TimeoutError
- Includes:
- ConnectionError
- Defined in:
- lib/trilogy.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_message = nil, error_code = nil) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(error_message = nil, error_code = nil) ⇒ TimeoutError
Returns a new instance of TimeoutError.
48 49 50 51 |
# File 'lib/trilogy.rb', line 48 def initialize( = nil, error_code = nil) super @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
46 47 48 |
# File 'lib/trilogy.rb', line 46 def error_code @error_code end |