[][src]Enum pallet_plasma::Error

pub enum Error<T: Trait> {
    IsNotAggregator,
    BlockNumberShouldBeNextBlock,
    LeftMustBeLessThanRight,
    FirstRightMustBeGreaterThanSibling,
    RangeMustNotExceedTheImplicitRange,
    AddressMustNotExceedTheImplicitAddress,
    TotalDepositedExceedMaxBalance,
    MustApproved,
    RangeMustBeOfDepositedRange,
    ClaimMustBeDecided,
    MustBeDecodable,
    ExitMustBeDecided,
    FinalizeExitMustBeCalledFromPayout,
    OriginMustBeOwner,
    CheckpointMustBeFinalized,
    DepositContractAddressMustBeSame,
    BlockNumberMustBeSame,
    RangeMustBeSubrangeOfCheckpoint,
    DepositContractAddressMustBePlappsId,
    // some variants omitted
}

Error for the staking module.

Variants

IsNotAggregator

Sender isn't valid aggregator.

BlockNumberShouldBeNextBlock

blkNumber should be next block.

LeftMustBeLessThanRight

leftStart must be less than _rightStart

FirstRightMustBeGreaterThanSibling

firstRightSiblingStart must be greater than siblingStart

RangeMustNotExceedTheImplicitRange

required range must not exceed the implicit range

AddressMustNotExceedTheImplicitAddress

required address must not exceed the implicit address

TotalDepositedExceedMaxBalance

DepositContract: totalDeposited exceed max uint256

MustApproved

must approved

RangeMustBeOfDepositedRange

range must be of a depostied range (the one that has not been exited

ClaimMustBeDecided

Checkpointing claim must be decied

MustBeDecodable

Must decode from checkpointInputs[0] to Property.

ExitMustBeDecided

Exit must be decided after this block

FinalizeExitMustBeCalledFromPayout

finalizeExit must be called from payout contract

OriginMustBeOwner

origin must be owner

CheckpointMustBeFinalized

checkpoint must be finalized

DepositContractAddressMustBeSame

depositContractAddress must be same

BlockNumberMustBeSame

blockNumber must be same,

RangeMustBeSubrangeOfCheckpoint

range must be subrange of checkpoint

DepositContractAddressMustBePlappsId

StateUpdate.depositContractAddress must be this contract address

Trait Implementations

impl<T: Trait> Debug for Error<T>[src]

impl<T: Trait> From<Error<T>> for &'static str[src]

impl<T: Trait> From<Error<T>> for DispatchError[src]

impl<T: Trait> ModuleErrorMetadata for Error<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Error<T> where
    T: RefUnwindSafe

impl<T> Send for Error<T> where
    T: Send

impl<T> Sync for Error<T> where
    T: Sync

impl<T> Unpin for Error<T> where
    T: Unpin

impl<T> UnwindSafe for Error<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithPostDispatchInfo for T where
    T: Into<DispatchError>, 
[src]