pub enum CronCatContractError {
Std(StdError),
ParseReplyError(ParseReplyError),
ReplyError {
reply_id: u64,
},
LatestTaskInfoFailed {
manager_addr: Addr,
},
DeserializeTaskInfo {},
FactoryManagerQueryFailed {
manager_addr: Addr,
version: String,
},
UnsanctionedInvocation {
manager_addr: Addr,
version: String,
},
NotSameBlockTxIndex {},
WrongTaskOwner {
expected_owner: Addr,
},
SerdeError {
msg: String,
},
TaskCreationNoFunds,
NoSuchContractOnFactory {
contract_name: String,
factory_addr: Addr,
},
}
Variants§
Std(StdError)
ParseReplyError(ParseReplyError)
ReplyError
LatestTaskInfoFailed
DeserializeTaskInfo
Fields
FactoryManagerQueryFailed
UnsanctionedInvocation
NotSameBlockTxIndex
Fields
WrongTaskOwner
SerdeError
TaskCreationNoFunds
NoSuchContractOnFactory
Trait Implementations§
source§impl Debug for CronCatContractError
impl Debug for CronCatContractError
source§impl Display for CronCatContractError
impl Display for CronCatContractError
source§impl Error for CronCatContractError
impl Error for CronCatContractError
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 CronCatContractError
impl From<Error> for CronCatContractError
source§fn from(error: SerdeJsonError) -> Self
fn from(error: SerdeJsonError) -> Self
Converts to this type from the input type.
source§impl From<ParseReplyError> for CronCatContractError
impl From<ParseReplyError> for CronCatContractError
source§fn from(source: ParseReplyError) -> Self
fn from(source: ParseReplyError) -> Self
Converts to this type from the input type.
source§impl From<StdError> for CronCatContractError
impl From<StdError> for CronCatContractError
source§impl PartialEq<CronCatContractError> for CronCatContractError
impl PartialEq<CronCatContractError> for CronCatContractError
source§fn eq(&self, other: &CronCatContractError) -> bool
fn eq(&self, other: &CronCatContractError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CronCatContractError
Auto Trait Implementations§
impl RefUnwindSafe for CronCatContractError
impl Send for CronCatContractError
impl Sync for CronCatContractError
impl Unpin for CronCatContractError
impl UnwindSafe for CronCatContractError
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