Exception: FileConvert::Exception::UploadedFileDataError
- Inherits:
-
StandardError
- Object
- StandardError
- FileConvert::Exception::UploadedFileDataError
- Defined in:
- lib/file_convert/exception.rb
Instance Method Summary collapse
-
#initialize(file_data) ⇒ UploadedFileDataError
constructor
A new instance of UploadedFileDataError.
- #message ⇒ Object
Constructor Details
#initialize(file_data) ⇒ UploadedFileDataError
Returns a new instance of UploadedFileDataError.
19 20 21 22 |
# File 'lib/file_convert/exception.rb', line 19 def initialize(file_data) super() @file_data = file_data end |
Instance Method Details
#message ⇒ Object
24 25 26 27 28 29 |
# File 'lib/file_convert/exception.rb', line 24 def ''" An error occured while uploading the file. Data was: #{@file_data} "'' end |