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