Enum wasm_deploy::error::DeployError
source · pub enum DeployError {
Show 33 variants
Error(String),
Generic(String),
Keyring(Error),
ExitStatus(ExitStatusError),
AdminAddress,
Io(Error),
Cosmwasm(CosmwasmError),
InteractiveParse(SchemaError),
Std(Box<dyn Error>),
Inquire(InquireError),
Serde(Error),
Clap(Error),
Mnemonic,
DerivationPath,
AccountId {
id: String,
},
CosmosSdk {
res: ChainResponse,
},
UnsupportedShell,
ChainAlreadyExists,
ContractAlreadyExists,
ContractNotFound,
EnvAlreadyExists,
InvalidDir,
NoAddr,
ChainId {
chain_id: String,
},
Denom {
name: String,
},
EmptyResponse,
KeyAlreadyExists,
KeyNotFound {
key_name: String,
},
CodeIdNotFound,
EnvNotFound,
AddrNotFound,
ConfigNotFound {},
DerviationPath,
}Variants§
Error(String)
Generic(String)
Keyring(Error)
ExitStatus(ExitStatusError)
AdminAddress
Io(Error)
Cosmwasm(CosmwasmError)
InteractiveParse(SchemaError)
Std(Box<dyn Error>)
Inquire(InquireError)
Serde(Error)
Clap(Error)
Mnemonic
DerivationPath
AccountId
CosmosSdk
Fields
§
res: ChainResponseUnsupportedShell
ChainAlreadyExists
ContractAlreadyExists
ContractNotFound
EnvAlreadyExists
InvalidDir
NoAddr
ChainId
Denom
EmptyResponse
KeyAlreadyExists
KeyNotFound
CodeIdNotFound
EnvNotFound
AddrNotFound
ConfigNotFound
Fields
DerviationPath
Trait Implementations§
source§impl Debug for DeployError
impl Debug for DeployError
source§impl Display for DeployError
impl Display for DeployError
source§impl Error for DeployError
impl Error for DeployError
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()
source§impl From<CosmwasmError> for DeployError
impl From<CosmwasmError> for DeployError
source§fn from(source: CosmwasmError) -> Self
fn from(source: CosmwasmError) -> Self
Converts to this type from the input type.
source§impl From<Error<RichFormatter>> for DeployError
impl From<Error<RichFormatter>> for DeployError
source§impl From<Error> for DeployError
impl From<Error> for DeployError
source§impl From<Error> for DeployError
impl From<Error> for DeployError
source§impl From<Error> for DeployError
impl From<Error> for DeployError
source§impl From<ExitStatusError> for DeployError
impl From<ExitStatusError> for DeployError
source§fn from(source: ExitStatusError) -> Self
fn from(source: ExitStatusError) -> Self
Converts to this type from the input type.
source§impl From<InquireError> for DeployError
impl From<InquireError> for DeployError
source§fn from(source: InquireError) -> Self
fn from(source: InquireError) -> Self
Converts to this type from the input type.
source§impl From<SchemaError> for DeployError
impl From<SchemaError> for DeployError
source§fn from(source: SchemaError) -> Self
fn from(source: SchemaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DeployError
impl !Send for DeployError
impl !Sync for DeployError
impl Unpin for DeployError
impl !UnwindSafe for DeployError
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request