pub enum CronCatContractError {
Show 13 variants
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,
version: String,
},
InvalidVersionString {},
}
Variants§
Std(StdError)
ParseReplyError(ParseReplyError)
ReplyError
LatestTaskInfoFailed
DeserializeTaskInfo
FactoryManagerQueryFailed
UnsanctionedInvocation
NotSameBlockTxIndex
WrongTaskOwner
SerdeError
TaskCreationNoFunds
NoSuchContractOnFactory
InvalidVersionString
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)>
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<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 for CronCatContractError
impl PartialEq for CronCatContractError
impl StructuralPartialEq for CronCatContractError
Auto Trait Implementations§
impl Freeze for CronCatContractError
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