Exception: ActiveResource::TimeoutError

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

Overview

Raised when a Timeout::Error occurs.

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary (collapse)

Constructor Details

- (TimeoutError) initialize(message)

A new instance of TimeoutError



20
21
22
# File 'activeresource/lib/active_resource/exceptions.rb', line 20

def initialize(message)
  @message = message
end

Instance Method Details

- (Object) to_s



23
# File 'activeresource/lib/active_resource/exceptions.rb', line 23

def to_s; @message ;end