vector_array/
error.rs

1use std::fmt;
2use thiserror::Error;
3
4/// Just an error
5#[derive(Error, Debug, Copy, Clone, Default, PartialEq)]
6pub struct ArrTooSmall;
7
8impl fmt::Display for ArrTooSmall {
9    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
10        write!(f, "{self:?}")
11    }
12}