Class: Trilogy::TimeoutError

Inherits:
Errno::ETIMEDOUT
  • Object
show all
Includes:
ConnectionError
Defined in:
lib/trilogy.rb

Instance Attribute Summary

Attributes included from Error

#error_code

Instance Method Summary collapse

Constructor Details

#initialize(error_message = nil, error_code = nil) ⇒ TimeoutError

Returns a new instance of TimeoutError.



68
69
70
71
# File 'lib/trilogy.rb', line 68

def initialize(error_message = nil, error_code = nil)
  super
  @error_code = error_code
end