class CSV::InvalidEncodingError
The error thrown when the parser encounters invalid encoding in CSV
.
Attributes
encoding[R]
Public Class Methods
new(encoding, line_number)
click to toggle source
Calls superclass method
CSV::MalformedCSVError::new
# File csv-3.3.0/lib/csv.rb, line 852 def initialize(encoding, line_number) @encoding = encoding super("Invalid byte sequence in #{encoding}", line_number) end