pub enum ErrorKind {
Usage,
Data,
NoInput,
Unavailable,
Software,
Browser,
Protocol,
Timeout,
Cancelled,
BrokenPipe,
Config,
Io,
}Expand description
High-level failure category mapped to a process exit code.
Variants§
Usage
Invalid usage or clap parse failure (2).
Data
Invalid data or payload (65).
NoInput
Required input missing (66).
Browser or dependency unavailable (69).
Software
Internal software failure (70).
Browser
Browser runtime failure (70).
Protocol
CDP/protocol failure (70).
Timeout
Wall-clock timeout (124).
Cancelled
Cancelled by signal (130).
BrokenPipe
Broken pipe on stdout (141).
Config
Configuration error (78).
Io
I/O failure (74).
Implementations§
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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