mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Move fish-rust to project root
This commit is contained in:
12
src/wutil/errors.rs
Normal file
12
src/wutil/errors.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
#[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,
|
||||
}
|
||||
Reference in New Issue
Block a user