Exception: FileConvert::Exception::DownloadConnectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/file_convert/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ DownloadConnectionError

Returns a new instance of DownloadConnectionError.



33
34
35
36
# File 'lib/file_convert/exception.rb', line 33

def initialize(result)
  super()
  @result = result
end

Instance Method Details

#messageObject



38
39
40
41
42
43
# File 'lib/file_convert/exception.rb', line 38

def message
  ''"
    An error occured connection to Google Drive.
    Result of request was: #{@result}
  "''
end