Our current error type is IxaError:
pub enum IxaError {
IoError(io::Error),
JsonError(serde_json::Error),
CsvError(csv::Error),
Utf8Error(std::string::FromUtf8Error),
ParseIntError(std::num::ParseIntError),
IxaError(String),
}
But we haven't really taken advantage of it and tend to just use IxaError::IxaError("some error message".to_string()).
Alternatives:
What's easy for client code to integrate?
Our current error type is
IxaError:But we haven't really taken advantage of it and tend to just use
IxaError::IxaError("some error message".to_string()).Alternatives:
IxaErrorricher and use it in more places.What's easy for client code to integrate?