pub fn cause(&self) -> Option<&HookErrorCause<E>> {
        match self {
            Self::Continue(option) => option.as_ref(),
            Self::Abort(cause) => Some(cause),
        }
    }
/// Get optional cause of this error
Get optional cause of this error
Get optional cause of this error
pub fn cause(&self) -> Option<&HookErrorCause<E>> {
        match self {
            Self::Continue(option) => option.as_ref(),
            Self::Abort(cause) => Some(cause),
        }
    }
pub fn cause ( & self ) -> Option < & HookErrorCause < E > > { match self { Self :: Continue ( option ) => option . as_ref ( ) , Self :: Abort ( cause ) => Some ( cause ) , } }
Get optional cause of this error
Get optional cause of this error
&self
&self