Exception: ASpaceImport::CSVConvert::CSVSyntaxException

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

Instance Method Summary (collapse)

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