mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-06 01:58:46 +00:00
dec3976a1f
Nothing sets these, so they can be removed. Also remove CharsLeft for the same reason.
12 lines
305 B
Rust
12 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,
|
|
}
|