Enum indradb::ValidationError
source · pub enum ValidationError {
InvalidValue,
ValueTooLong,
CannotIncrementUuid,
}Expand description
A validation error
Variants§
InvalidValue
The value is invalid
ValueTooLong
The value is too long
CannotIncrementUuid
The input UUID is the maximum value, and cannot be incremented
Trait Implementations§
source§impl Debug for ValidationError
impl Debug for ValidationError
source§impl Display for ValidationError
impl Display for ValidationError
source§impl Error for ValidationError
impl Error for ValidationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()