Exception: TableImporter::EmptyFileImportError

Inherits:
ImportError
  • Object
show all
Defined in:
lib/table_importer/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = "The file you uploaded has no valid content to import or the content cannot be read. If there is content in your file please try copying and pasting it in instead.") ⇒ EmptyFileImportError

Returns a new instance of EmptyFileImportError.



7
8
9
# File 'lib/table_importer/exceptions.rb', line 7

def initialize(message = "The file you uploaded has no valid content to import or the content cannot be read. If there is content in your file please try copying and pasting it in instead.")
   super(message)
end