use crate::{AttributeName, ScalarType};
#[derive(Debug, PartialEq, Eq)]
pub enum Error {
InvalidWidth {
expected: usize,
actual: usize,
},
AttributeNotFound {
name: AttributeName,
},
ScalarTypeMismatch {
lhs: ScalarType,
rhs: ScalarType,
},
AttributeAlreadyExists {
name: AttributeName,
},
NonComparableTypes {
lhs: ScalarType,
rhs: ScalarType,
},
HeadingMismatch,
HeadingMissing,
InvalidRenameMapping {
name: AttributeName,
},
}