Enum cw_ownable::OwnershipError
source · pub enum OwnershipError {
Std(StdError),
NoOwner,
NotOwner,
NotPendingOwner,
TransferNotFound,
TransferExpired,
}
Expand description
Errors associated with the contract’s ownership
Variants§
Trait Implementations§
source§impl Debug for OwnershipError
impl Debug for OwnershipError
source§impl Display for OwnershipError
impl Display for OwnershipError
source§impl Error for OwnershipError
impl Error for OwnershipError
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<StdError> for OwnershipError
impl From<StdError> for OwnershipError
source§impl PartialEq<OwnershipError> for OwnershipError
impl PartialEq<OwnershipError> for OwnershipError
source§fn eq(&self, other: &OwnershipError) -> bool
fn eq(&self, other: &OwnershipError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.