ic-asset 0.29.0

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

/// Errors related to getting asset properties.
#[derive(Error, Debug)]
pub enum GetAssetPropertiesError {
    /// The call to get_asset_properties failed.
    #[error("Failed to get asset properties for {0}")]
    GetAssetPropertiesFailed(String, #[source] AgentError),
}