1 2 3 4 5 6 7
pub type CommonResult<T> = Result<T, CommonError>; #[derive(Debug)] pub enum CommonError { UnknownFunctionName(String), OutOfBounds(usize), }