#[derive(Clone, thiserror::Error, Debug)]
pub enum Error {
#[error("the argument does not match the field extension degree")]
ExtensionDegreeMismatch,
#[error("the amount of scalars in the first array is not the same as the amount of scalars in the second")]
MismatchedLengths,
#[error("the argument has too large a field extension degree")]
ExtensionDegreeTooHigh,
#[error("index {index} is out of range 0..{max}")]
IndexOutOfRange { index: usize, max: usize },
#[error("value is not in the field")]
NotInField,
}