Enum pallet_ovm::Error [−][src]
pub enum Error<T: Config> { DoesNotExistGame, MustBeCalledFromPredicate, OutOfRangeOfChallenges, GameIsAlradyStarted, PropertyIsNotClaimed, ChallengeIsAlreadyStarted, ChallengeIsNotInTheChallengeList, ChallengePropertyIsNotDecidedToFalse, ChallengeListIsNotEmpty, DisputePeriodHasNotBeenPassed, UndecidedChallengeExists, // some variants omitted }
Expand description
Error for the staking module.
Variants
Does not exist game
setPredicateDecision must be called from predicate
index must be less than challenges.length
game is already started
property is not claimed
challenge is already started
challenge is not in the challenge list
challenge property is not decided to false
challenge list is not empty
dispute period has not been passed
undecided challenge exists
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Error<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Error<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
Call this on your modules custom errors type in order to return a custom weight on error. Read more
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,