Exception: Socialcastr::TimeoutError

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



22
23
24
# File 'lib/socialcastr/exceptions.rb', line 22

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



25
# File 'lib/socialcastr/exceptions.rb', line 25

def to_s; @message ;end