Enum common_types::errors::EngineError [−][src]
Voting errors.
Variants
NotAuthorized(Address)
Signature or author field does not belong to an authority.
DoubleVote(Address)
The same author issued different votes at the same step.
The received block is from an incorrect proposer.
Message was not expected.
BadSealFieldSize(OutOfBounds<usize>)
Seal field has an unexpected size.
InsufficientProof(String)
Validation proof insufficient.
FailedSystemCall(String)
Failed system call.
SystemCallResultDecoding(String)
Failed to decode the result of a system call.
SystemCallResultInvalid(String)
The result of a system call is invalid.
MalformedMessage(String)
Malformed consensus message.
Requires client ref, but none registered.
Invalid engine specification or implementation.
Requires signer ref, but none registered.
Missing Parent Epoch
Checkpoint is missing
Missing vanity data
Missing signature
Missing signers
CliqueCheckpointInvalidSigners(usize)
List of signers is invalid
Wrong author on a checkpoint
Wrong checkpoint authors recovered
CliqueInvalidNonce(H64)
Invalid nonce (should contain vote)
CliqueTooRecentlySigned(Address)
The signer signed a block to recently
Custom(String)
Custom
Trait Implementations
impl Debug for EngineError
[src]
impl Display for EngineError
[src]
impl Error for EngineError
[src]
fn description(&self) -> &str
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<EngineError> for VapcoreError
[src]
fn from(original: EngineError) -> VapcoreError
[src]
impl From<H64> for EngineError
[src]
fn from(original: H64) -> EngineError
[src]
impl From<OutOfBounds<usize>> for EngineError
[src]
fn from(original: OutOfBounds<usize>) -> EngineError
[src]
impl From<Vec<String, Global>> for EngineError
[src]
fn from(original: Vec<String>) -> EngineError
[src]
impl From<usize> for EngineError
[src]
fn from(original: usize) -> EngineError
[src]
Auto Trait Implementations
impl RefUnwindSafe for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl UnwindSafe for EngineError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,