pub enum PipelineError {
Show 16 variants
Eof,
NotEnoughData,
ChannelProviderEmpty,
ChannelAlreadyBuilt,
ChannelNotFound,
ChannelReaderEmpty,
BatchQueueEmpty,
MissingOrigin,
MissingL1Data,
InvalidBatchType,
InvalidBatchValidity,
SystemConfigUpdate(SystemConfigUpdateError),
AttributesBuilder(BuilderError),
BadEncoding(PipelineEncodingError),
EndOfSource,
Provider(String),
}
Expand description
An error encountered during the processing.
Variants§
Eof
There is no data to read from the channel bank.
NotEnoughData
There is not enough data to complete the processing of the stage. If the operation is re-tried, more data will come in allowing the pipeline to progress, or eventually a PipelineError::Eof will be encountered.
ChannelProviderEmpty
No channels are available in the ChannelProvider.
ChannelAlreadyBuilt
The channel has already been built by the ChannelAssembler stage.
ChannelNotFound
Failed to find channel in the ChannelProvider.
ChannelReaderEmpty
No channel returned by the ChannelReader stage.
BatchQueueEmpty
The BatchQueue is empty.
MissingOrigin
Missing L1 origin.
MissingL1Data
Missing data from L1Retrieval.
InvalidBatchType
Invalid batch type passed.
InvalidBatchValidity
Invalid batch validity variant.
SystemConfigUpdate(SystemConfigUpdateError)
SystemConfig update error.
AttributesBuilder(BuilderError)
Attributes builder error variant, with BuilderError.
BadEncoding(PipelineEncodingError)
PipelineEncodingError variant.
EndOfSource
The data source can no longer provide any more data.
Provider(String)
Provider error variant.
Implementations§
Source§impl PipelineError
impl PipelineError
Sourcepub const fn crit(self) -> PipelineErrorKind
pub const fn crit(self) -> PipelineErrorKind
Wrap PipelineError as a PipelineErrorKind::Critical.
Sourcepub const fn temp(self) -> PipelineErrorKind
pub const fn temp(self) -> PipelineErrorKind
Wrap PipelineError as a PipelineErrorKind::Temporary.