Exception: Google::APIClient::TransmissionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/google/api_client/errors.rb

Overview

An error which is raised when there is an unexpected response or other transport error that prevents an operation from succeeding.

Direct Known Subclasses

ClientError, RedirectError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, result = nil) ⇒ TransmissionError

Returns a new instance of TransmissionError.



23
24
25
26
# File 'lib/google/api_client/errors.rb', line 23

def initialize(message = nil, result = nil)
  super(message)
  @result = result
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



22
23
24
# File 'lib/google/api_client/errors.rb', line 22

def result
  @result
end