use std::io;
#[derive(thiserror::Error, Debug)]
pub enum NeuroxError {
#[error("shape mismatch: {0}")]
ShapeMismatch(String),
#[error("io error: {0}")]
Io(#[from] io::Error),
#[error("invalid argument: {0}")]
InvalidArgument(String),
#[error("other: {0}")]
Other(String),
}
pub type NeuroxResult<T> = Result<T, NeuroxError>;