pub enum CodexError {
Io(Error),
Exit {
exit_code: i32,
stdout: String,
stderr: String,
},
Timeout(u64),
EmptyOutput,
}Expand description
Errors from Codex command execution.
Variants§
Trait Implementations§
Source§impl Debug for CodexError
impl Debug for CodexError
Source§impl Display for CodexError
impl Display for CodexError
Source§impl Error for CodexError
impl Error for CodexError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CodexError
impl !RefUnwindSafe for CodexError
impl Send for CodexError
impl Sync for CodexError
impl Unpin for CodexError
impl UnsafeUnpin for CodexError
impl !UnwindSafe for CodexError
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