Exception: ASpaceImport::CSVConvert::CSVSyntaxException
- Inherits:
-
StandardError
- Object
- StandardError
- ASpaceImport::CSVConvert::CSVSyntaxException
- Defined in:
- backend/app/converters/lib/csv_converter.rb
Instance Method Summary collapse
-
#initialize(type, element) ⇒ CSVSyntaxException
constructor
A new instance of CSVSyntaxException.
-
#to_s ⇒ Object
Constructor Details
#initialize(type, element) ⇒ CSVSyntaxException
Returns a new instance of CSVSyntaxException.
166 167 168 169 |
# File 'backend/app/converters/lib/csv_converter.rb', line 166 def initialize(type, element) @type = type @element = element end |
Instance Method Details
#to_s ⇒ Object
171 172 173 |
# File 'backend/app/converters/lib/csv_converter.rb', line 171 def to_s "#<:CSVSyntaxException: #{@type} => #{@element.inspect}" end |