Exception: DataMapperRest::TimeoutError

Inherits:
ConnectionError show all
Defined in:
lib/dm-rest-adapter/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.



18
19
20
# File 'lib/dm-rest-adapter/exceptions.rb', line 18

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



21
# File 'lib/dm-rest-adapter/exceptions.rb', line 21

def to_s; @message ;end