Exception: Mobitex::TimeoutError

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



23
24
25
# File 'lib/mobitex/connection_errors.rb', line 23

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



27
28
29
# File 'lib/mobitex/connection_errors.rb', line 27

def to_s
  @message
end