Skip to main content

ic_asset/error/
assemble_commit_batch_argument.rs

1use thiserror::Error;
2
3use super::SetEncodingError;
4
5/// Errors related to assembling commit_batch arguments for the asset canister.
6#[derive(Error, Debug)]
7pub enum AssembleCommitBatchArgumentError {
8    /// Failed to set encoding.
9    #[error("Failed to set encoding")]
10    SetEncodingFailed(#[from] SetEncodingError),
11}