Exception: FileConvert::Exception::DownloadConnectionError

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

Instance Method Summary collapse

Constructor Details

#initialize(error_message) ⇒ DownloadConnectionError

Returns a new instance of DownloadConnectionError.



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

def initialize(error_message)
  super()
  @error_message = error_message
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.
    Error message was: #{@error_message}
  "''
end