Enum ethcore::engines::EngineError
[−]
[src]
pub enum EngineError { NotAuthorized(Address), DoubleVote(Address), NotProposer(Mismatch<Address>), UnexpectedMessage, BadSealFieldSize(OutOfBounds<usize>), InsufficientProof(String), FailedSystemCall(String), MalformedMessage(String), RequiresClient, }
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.
NotProposer(Mismatch<Address>)
The received block is from an incorrect proposer.
UnexpectedMessage
Message was not expected.
BadSealFieldSize(OutOfBounds<usize>)
Seal field has an unexpected size.
InsufficientProof(String)
Validation proof insufficient.
FailedSystemCall(String)
Failed system call.
MalformedMessage(String)
Malformed consensus message.
RequiresClient
Requires client ref, but none registered.
Trait Implementations
impl Debug for EngineError
[src]
impl Debug for EngineError
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for EngineError
[src]
impl Display for EngineError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for EngineError
[src]
impl Error for EngineError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<EngineError> for Error
impl From<EngineError> for Error
Consensus vote error.
fn from(e: EngineError) -> Self
fn from(e: EngineError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Sync for EngineError