fish-shell/src/wutil/errors.rs
2024-01-13 03:58:33 +01:00

13 lines
305 B
Rust

#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum Error {
// The value overflowed.
Overflow,
// The input string was empty.
Empty,
// The input string contained an invalid char.
// Note this may not be returned for conversions which stop at invalid chars.
InvalidChar,
}