pub trait PipelineErrorExt {
// Required methods
fn try_into_pipeline_error(self) -> Result<PipelineError, Error>;
fn either_pipeline_error(self) -> Either<PipelineError, Error>;
}
Required Methods§
Sourcefn try_into_pipeline_error(self) -> Result<PipelineError, Error>
fn try_into_pipeline_error(self) -> Result<PipelineError, Error>
Downcast the Error
to a PipelineError
Sourcefn either_pipeline_error(self) -> Either<PipelineError, Error>
fn either_pipeline_error(self) -> Either<PipelineError, Error>
If the Error
can be downcast to a PipelineError
, then the left variant is returned,
otherwise the right variant is returned.