Enum pallet_plasma::Error [−][src]
pub enum Error<T: Config> {}Show variants
IsNotAggregator, BlockNumberShouldBeNextBlock, LeftMustBeLessThanRight, FirstRightMustBeGreaterThanSibling, RangeMustNotExceedTheImplicitRange, AddressMustNotExceedTheImplicitAddress, TotalDepositedExceedMaxBalance, MustApproved, RangeMustBeOfDepositedRange, ClaimMustBeDecided, MustBeDecodable, ExitMustBeDecided, FinalizeExitMustBeCalledFromPayout, OriginMustBeOwner, CheckpointMustBeFinalized, DepositContractAddressMustBeSame, BlockNumberMustBeSame, RangeMustBeSubrangeOfCheckpoint, DepositContractAddressMustBePlappsId, PredicateExecError, NotFoundGame, // some variants omitted
Expand description
Error for the staking module.
Variants
Sender isn’t valid aggregator.
blkNumber should be next block.
leftStart must be less than _rightStart
firstRightSiblingStart must be greater than siblingStart
required range must not exceed the implicit range
required address must not exceed the implicit address
DepositContract: totalDeposited exceed max uint256
must approved
range must be of a depostied range (the one that has not been exited
Checkpointing claim must be decied
Must decode from checkpointInputs[0] to Property.
Exit must be decided after this block
finalizeExit must be called from payout contract
origin must be owner
checkpoint must be finalized
depositContractAddress must be same
blockNumber must be same,
range must be subrange of checkpoint
StateUpdate.depositContractAddress must be this contract address
ExecError
NotFoundGame
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,