pub enum Error {
Io(Error),
InvalidWindowSize,
CursorPosition,
Config(PathBuf, usize, String),
TooManyArguments(usize),
}
Expand description
Kibi error type.
Variants§
Io(Error)
Wrapper around std::io::Error
InvalidWindowSize
Error returned when the window size obtained through a system call is invalid.
CursorPosition
Error setting or retrieving the cursor position.
Config(PathBuf, usize, String)
Configuration error. The three attributes correspond the file path, the line number and the error message.
TooManyArguments(usize)
Too many arguments given to kibi. The attribute corresponds to the total number of command line arguments.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more