Skip to content

Commit

Permalink
Fix WriteLayerError Display impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax committed Jun 12, 2024
1 parent 66c1134 commit f140b94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libcnb/src/layer/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ pub(in crate::layer) fn write_layer<M: Serialize, P: AsRef<Path>>(
#[derive(thiserror::Error, Debug)]
#[allow(clippy::enum_variant_names)]
pub enum WriteLayerError {
#[error("Layer content metadata couldn't be parsed!")]
#[error("{0}")]
WriteLayerMetadataError(WriteLayerMetadataError),

#[error("TODO")]
#[error("{0}")]
ReplaceLayerSbomsError(ReplaceLayerSbomsError),

#[error("TODO")]
#[error("{0}")]
ReplaceLayerExecdProgramsError(ReplaceLayerExecdProgramsError),

#[error("Unexpected I/O error while writing layer: {0}")]
Expand Down

0 comments on commit f140b94

Please sign in to comment.