mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-22 09:45:47 +00: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,
|
||
|
}
|