class CSV::MalformedCSVError

The error thrown when the parser encounters illegal CSV formatting.

Attributes

Public Class Methods

Calls superclass method Exception::new
# File lib/csv.rb, line 843
def initialize(message, line_number)
  @line_number = line_number
  super("#{message} in line #{line_number}.")
end