Enum ic_utils::canister::CanisterBuilderError
source · pub enum CanisterBuilderError {
PrincipalError(Box<dyn Error + Send + Sync>),
MustSpecifyAnAgent(),
MustSpecifyCanisterId(),
}Expand description
An error happened while building a canister.
Variants§
PrincipalError(Box<dyn Error + Send + Sync>)
There was an error parsing the canister ID.
MustSpecifyAnAgent()
The agent was not provided.
MustSpecifyCanisterId()
The canister ID was not provided.
Trait Implementations§
source§impl Debug for CanisterBuilderError
impl Debug for CanisterBuilderError
source§impl Display for CanisterBuilderError
impl Display for CanisterBuilderError
source§impl Error for CanisterBuilderError
impl Error for CanisterBuilderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()