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