Enum cw_orch_core::CwEnvError
source · pub enum CwEnvError {
Show 16 variants
CosmWasmError(StdError),
CodeIdNotInStore(String),
AddrNotInStore(String),
IOErr(Error),
SerdeJson(Error),
EnvvarError(VarError),
ParseFloatError(ParseFloatError),
ParseIntError(ParseIntError),
ParseBoolError(ParseBoolError),
Instantiate2AddressError(Instantiate2AddressError),
NotWasm,
WasmNotFound(String, String),
NotImplemented,
AnyError(Error),
StdErr(String),
EnvVarNotPresentNamed(String),
}
Expand description
cw-orchestrator error wrapper using thiserror.
Variants§
CosmWasmError(StdError)
CodeIdNotInStore(String)
AddrNotInStore(String)
IOErr(Error)
SerdeJson(Error)
EnvvarError(VarError)
ParseFloatError(ParseFloatError)
ParseIntError(ParseIntError)
ParseBoolError(ParseBoolError)
Instantiate2AddressError(Instantiate2AddressError)
NotWasm
WasmNotFound(String, String)
NotImplemented
AnyError(Error)
StdErr(String)
EnvVarNotPresentNamed(String)
Implementations§
Trait Implementations§
source§impl Debug for CwEnvError
impl Debug for CwEnvError
source§impl Display for CwEnvError
impl Display for CwEnvError
source§impl Error for CwEnvError
impl Error for CwEnvError
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<Error> for CwEnvError
impl From<Error> for CwEnvError
source§impl From<Error> for CwEnvError
impl From<Error> for CwEnvError
source§impl From<Error> for CwEnvError
impl From<Error> for CwEnvError
source§impl From<Instantiate2AddressError> for CwEnvError
impl From<Instantiate2AddressError> for CwEnvError
source§fn from(source: Instantiate2AddressError) -> Self
fn from(source: Instantiate2AddressError) -> Self
Converts to this type from the input type.
source§impl From<ParseBoolError> for CwEnvError
impl From<ParseBoolError> for CwEnvError
source§fn from(source: ParseBoolError) -> Self
fn from(source: ParseBoolError) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for CwEnvError
impl From<ParseFloatError> for CwEnvError
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for CwEnvError
impl From<ParseIntError> for CwEnvError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<StdError> for CwEnvError
impl From<StdError> for CwEnvError
Auto Trait Implementations§
impl Freeze for CwEnvError
impl !RefUnwindSafe for CwEnvError
impl Send for CwEnvError
impl Sync for CwEnvError
impl Unpin for CwEnvError
impl !UnwindSafe for CwEnvError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more