Enum havocompare::csv::Error
source · pub enum Error {
UnexpectedValue(Value, String),
InvalidAccess(String),
RegexCompilationFailed(Error),
ReportingFailed(Error),
FileAccessFailed(FatIOError),
IoProblem(Error),
FormatGuessingFailure,
UnterminatedLiteral,
UnstableColumnCount(usize),
}
Expand description
Possible errors during csv parsing
Variants§
UnexpectedValue(Value, String)
Value type was different than expected
InvalidAccess(String)
Tried to access a non-existing field
RegexCompilationFailed(Error)
Regex compilation failed
ReportingFailed(Error)
Reporting could not be created
FileAccessFailed(FatIOError)
File access failed
IoProblem(Error)
Problem involving files or readers
FormatGuessingFailure
Failure to guess field delimiters - decimal separator guessing is optional
UnterminatedLiteral
A string literal was started but did never end
UnstableColumnCount(usize)
The embedded row number had a different column count than the first
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FatIOError> for Error
impl From<FatIOError> for Error
source§fn from(source: FatIOError) -> Self
fn from(source: FatIOError) -> Self
Converts to this type from the input type.