ic-asset 0.28.0

Library for storing files in an asset canister.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

use super::SetEncodingError;

/// Errors related to assembling commit_batch arguments for the asset canister.
#[derive(Error, Debug)]
pub enum AssembleCommitBatchArgumentError {
    /// Failed to set encoding.
    #[error("Failed to set encoding")]
    SetEncodingFailed(#[from] SetEncodingError),
}