pub enum OctoFlowError {
IoError(Error),
ParseError(Error),
}Expand description
Error type for the octo-flow processing pipeline.
This enum represents all possible errors that can occur while reading and processing GitHub event streams.
Variants§
IoError(Error)
Error while reading from the input source.
ParseError(Error)
Error while parsing JSON event data.
Trait Implementations§
Source§impl Debug for OctoFlowError
impl Debug for OctoFlowError
Source§impl Display for OctoFlowError
impl Display for OctoFlowError
Source§impl Error for OctoFlowError
impl Error for OctoFlowError
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()
Source§impl From<Error> for OctoFlowError
impl From<Error> for OctoFlowError
Auto Trait Implementations§
impl Freeze for OctoFlowError
impl !RefUnwindSafe for OctoFlowError
impl Send for OctoFlowError
impl Sync for OctoFlowError
impl Unpin for OctoFlowError
impl UnsafeUnpin for OctoFlowError
impl !UnwindSafe for OctoFlowError
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