mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03: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,
|
||
|
|
}
|