Skip to main content

dfx_core/error/
root_key.rs

1use ic_agent;
2use thiserror::Error;
3
4#[derive(Error, Debug)]
5pub enum FetchRootKeyError {
6    #[error(transparent)]
7    AgentError(#[from] ic_agent::AgentError),
8
9    #[error("This command only runs on local instances. Cannot run this on the real IC.")]
10    MustNotFetchRootKeyOnMainnet,
11}