Exception: PayPal::SDK::Core::Exceptions::TimeoutError

Inherits:
ConnectionError
  • Object
show all
Defined in:
lib/paypal-sdk/core/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.



30
31
32
# File 'lib/paypal-sdk/core/exceptions.rb', line 30

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



33
# File 'lib/paypal-sdk/core/exceptions.rb', line 33

def to_s; @message ;end