Exception: ASpaceImport::CSVConvert::CSVSyntaxException

Inherits:
StandardError
  • Object
show all
Defined in:
backend/app/converters/lib/csv_converter.rb

Instance Method Summary collapse

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_sObject



171
172
173
# File 'backend/app/converters/lib/csv_converter.rb', line 171

def to_s
  "#<:CSVSyntaxException: #{@type} => #{@element.inspect}"
end