[][src]Enum beacon::Error

pub enum Error {
    DepositIndexMismatch,
    DepositMerkleInvalid,
    DepositProofInvalid,
    DepositWithdrawalCredentialsMismatch,
    EpochOutOfRange,
    SlotOutOfRange,
    AttestationShardInvalid,
    AttestationBitFieldInvalid,
    ValidatorNotWithdrawable,
    ValidatorAttestationNotFound,
    BlockSlotInvalid,
    BlockPreviousRootInvalid,
    BlockSignatureInvalid,
    RandaoSignatureInvalid,
    ProposerSlashingInvalidSlot,
    ProposerSlashingSameHeader,
    ProposerSlashingAlreadySlashed,
    ProposerSlashingInvalidSignature,
    AttesterSlashingSameAttestation,
    AttesterSlashingNotSlashable,
    AttesterSlashingInvalid,
    AttesterSlashingEmptyIndices,
    AttestationTooFarInHistory,
    AttestationSubmittedTooQuickly,
    AttestationIncorrectJustifiedEpochOrBlockRoot,
    AttestationIncorrectCrosslinkData,
    AttestationEmptyAggregation,
    AttestationEmptyCustody,
    AttestationInvalidShard,
    AttestationInvalidCustody,
    AttestationInvalidSignature,
    AttestationInvalidCrosslink,
    VoluntaryExitAlreadyExited,
    VoluntaryExitAlreadyInitiated,
    VoluntaryExitNotYetValid,
    VoluntaryExitNotLongEnough,
    VoluntaryExitInvalidSignature,
    TransferNoFund,
    TransferNotValidSlot,
    TransferNotWithdrawable,
    TransferInvalidPublicKey,
    TransferInvalidSignature,
    TooManyProposerSlashings,
    TooManyAttesterSlashings,
    TooManyAttestations,
    TooManyDeposits,
    TooManyVoluntaryExits,
    TooManyTransfers,
}

Error type for beacon chain.

Variants

DepositIndexMismatch

Deposit index mismatch.

DepositMerkleInvalid

Deposit merkle is invalid.

DepositProofInvalid

Deposit proof is invalid.

DepositWithdrawalCredentialsMismatch

Deposit withdrawal credentials does not match.

EpochOutOfRange

Epoch is out of range.

SlotOutOfRange

Slot is out of range.

AttestationShardInvalid

Attestation shard is invalid.

AttestationBitFieldInvalid

Attestation bitfield is invalid.

ValidatorNotWithdrawable

Validator is not yet withdrawable.

ValidatorAttestationNotFound

Validator's attestation not found.

BlockSlotInvalid

Block slot is invalid.

BlockPreviousRootInvalid

Block previous root is invalid.

BlockSignatureInvalid

Block signature is invalid.

RandaoSignatureInvalid

Randao signature is invalid.

ProposerSlashingInvalidSlot

Proposer slashing contains invalid slot.

ProposerSlashingSameHeader

Proposer slashing is on same header.

ProposerSlashingAlreadySlashed

Proposer slahsing has already been slashed.

ProposerSlashingInvalidSignature

Proposer slahsing contains invalid signature.

AttesterSlashingSameAttestation

Attester slashing is on same attestation.

AttesterSlashingNotSlashable

Attester slashing is not slashable.

AttesterSlashingInvalid

Attester slashing is invalid.

AttesterSlashingEmptyIndices

Attester slashing is on empty indices.

AttestationTooFarInHistory

Attestation is too far in the past.

AttestationSubmittedTooQuickly

Attestation submitted to quickly.

AttestationIncorrectJustifiedEpochOrBlockRoot

Attestation contains incorrect justified epoch or block root.

AttestationIncorrectCrosslinkData

Attestation contains incorrect crosslink data.

AttestationEmptyAggregation

Attestation has empty aggregation.

AttestationEmptyCustody

Attestation has empty custody.

AttestationInvalidShard

Attestation is on invalid shard.

AttestationInvalidCustody

Attestation has invalid custody.

AttestationInvalidSignature

Attestation has invalid signature.

AttestationInvalidCrosslink

Attestation has invalid crosslink.

VoluntaryExitAlreadyExited

Voluntary exit has already exited.

VoluntaryExitAlreadyInitiated

Voluntary exit has already been initiated.

VoluntaryExitNotYetValid

Voluntary exit is not yet valid.

VoluntaryExitNotLongEnough

Voluntary exit is not long enough.

VoluntaryExitInvalidSignature

Voluntary exit contains invalid signature.

TransferNoFund

Transfer does not have enough fund.

TransferNotValidSlot

Transfer is not on valid slot.

TransferNotWithdrawable

Transfer is not withdrawable.

TransferInvalidPublicKey

Transfer has invalid public key.

TransferInvalidSignature

Transfer has invalid signature.

TooManyProposerSlashings

Too many proposer slashings in a block.

TooManyAttesterSlashings

Too many attester slashings in a block.

TooManyAttestations

Too many attestations in a block.

TooManyDeposits

Too many deposits in a block.

TooManyVoluntaryExits

Too many voluntary exits in a block.

TooManyTransfers

Too many transfers in a block.

Trait Implementations

impl PartialEq<Error> for Error[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Error[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Error[src]

impl Debug for Error[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T> DebugIfStd for T where
    T: Debug
[src]