Skip to main content

Module error

Module error 

Source
Expand description

The single error type of the pipeline layer.

Every layer below reports its own failures in its own vocabulary, and none of them knows the others exist. PipelineError is where those vocabularies meet: one variant per lower layer, each holding the original error rather than a message rendered from it, so a caller that wants to react to a specific condition — a payload that does not fit, a container without texture — can still match on it after it has crossed the pipeline boundary.

The std::error::Error::source chain is wired for every variant, which is what lets a front-end print the whole causal chain without this module having to flatten it into a string.

Enums§

OutputError
Failure while writing the stego image to disk.
PipelineError
Everything that can go wrong between a plaintext and a stego image.