Enum abstract_os::AbstractOsError
source · pub enum AbstractOsError {
Show 13 variants
Std(StdError),
Asset(AssetError),
Overflow(OverflowError),
Semver(String),
EntryFormattingError {
actual: String,
expected: String,
},
FormattingError {
object: String,
expected: String,
actual: String,
},
ApiNotInstalled(String),
AppNotInstalled(String),
MissingVersion(String),
Storage {
object: String,
msg: String,
},
Assert(String),
Fee(String),
Deposit(String),
}
Expand description
Wrapper error for the Abstract-OS framework.
Variants§
Std(StdError)
Asset(AssetError)
Overflow(OverflowError)
Semver(String)
EntryFormattingError
FormattingError
ApiNotInstalled(String)
AppNotInstalled(String)
MissingVersion(String)
Storage
Assert(String)
Fee(String)
Deposit(String)
Trait Implementations§
source§impl Debug for AbstractOsError
impl Debug for AbstractOsError
source§impl Display for AbstractOsError
impl Display for AbstractOsError
source§impl Error for AbstractOsError
impl Error for AbstractOsError
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<AssetError> for AbstractOsError
impl From<AssetError> for AbstractOsError
source§fn from(source: AssetError) -> Self
fn from(source: AssetError) -> Self
Converts to this type from the input type.
source§impl From<Error> for AbstractOsError
impl From<Error> for AbstractOsError
source§fn from(err: SemverError) -> Self
fn from(err: SemverError) -> Self
Converts to this type from the input type.
source§impl From<Error> for AbstractOsError
impl From<Error> for AbstractOsError
source§fn from(err: CwSemverError) -> Self
fn from(err: CwSemverError) -> Self
Converts to this type from the input type.
source§impl From<OverflowError> for AbstractOsError
impl From<OverflowError> for AbstractOsError
source§fn from(source: OverflowError) -> Self
fn from(source: OverflowError) -> Self
Converts to this type from the input type.
source§impl From<StdError> for AbstractOsError
impl From<StdError> for AbstractOsError
source§impl PartialEq<AbstractOsError> for AbstractOsError
impl PartialEq<AbstractOsError> for AbstractOsError
source§fn eq(&self, other: &AbstractOsError) -> bool
fn eq(&self, other: &AbstractOsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.