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)>
Returns 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 for AbstractOsError
impl PartialEq for AbstractOsError
impl StructuralPartialEq for AbstractOsError
Auto Trait Implementations§
impl Freeze for AbstractOsError
impl RefUnwindSafe for AbstractOsError
impl Send for AbstractOsError
impl Sync for AbstractOsError
impl Unpin for AbstractOsError
impl UnwindSafe for AbstractOsError
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