Exception: Nestful::TimeoutError

Inherits:
ConnectionError show all
Defined in:
lib/nestful/exceptions.rb

Overview

Raised when a Timeout::Error occurs.

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ TimeoutError

Returns a new instance of TimeoutError.



21
22
23
# File 'lib/nestful/exceptions.rb', line 21

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



24
# File 'lib/nestful/exceptions.rb', line 24

def to_s; @message ;end