Enum croncat_tasks::ContractError
source · pub enum ContractError {
Show 21 variants
Std(StdError),
InvalidBoundary {},
InvalidInterval {},
MustAttach {},
InvalidWasmMsg {},
InvalidAction {},
InvalidQueries {},
InvalidTransform {},
InvalidAddress {},
InvalidGas {},
NoGasLimit {},
ContractPaused,
ContractUnpaused,
TaskEnded {},
TaskExists {},
NoTaskFound {},
Unauthorized {},
InvalidPauseAdmin,
TooLongChainName {},
InvalidKey {},
InvalidZeroValue {
field: String,
},
}
Variants§
Std(StdError)
InvalidBoundary
Fields
InvalidInterval
Fields
MustAttach
Fields
InvalidWasmMsg
Fields
InvalidAction
Fields
InvalidQueries
Fields
InvalidTransform
Fields
InvalidAddress
Fields
InvalidGas
Fields
NoGasLimit
Fields
ContractPaused
ContractUnpaused
TaskEnded
Fields
TaskExists
Fields
NoTaskFound
Fields
Fields
InvalidPauseAdmin
TooLongChainName
Fields
InvalidKey
Fields
InvalidZeroValue
Trait Implementations§
source§impl Debug for ContractError
impl Debug for ContractError
source§impl Display for ContractError
impl Display for ContractError
source§impl Error for ContractError
impl Error for ContractError
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 ContractError
impl From<StdError> for ContractError
source§impl PartialEq<ContractError> for ContractError
impl PartialEq<ContractError> for ContractError
source§fn eq(&self, other: &ContractError) -> bool
fn eq(&self, other: &ContractError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.