1/// Occurs when an argument to a function was incorrect or not valid at the given time.
2#[derive(Debug)]
3pub struct ArgumentError(pub String);
45impl<T> From<T> for ArgumentError
6where
7T: Into<String>,
8{
9fn from(value: T) -> Self {
10Self(value.into())
11 }
12}