mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-11 19:14:17 +08:00
13 lines
305 B
Rust
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,
|
|
}
|