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.



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

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

Instance Method Details

#messageObject



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

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