Class: Trilogy::TimeoutError

Inherits:
Errno::ETIMEDOUT
  • Object
show all
Includes:
ConnectionError
Defined in:
lib/trilogy/error.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.



64
65
66
67
# File 'lib/trilogy/error.rb', line 64

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