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.
UnexpectedMessageMessage 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.
RequiresClientRequires client ref, but none registered.
Trait Implementations
impl Debug for EngineError[src]
impl Debug for EngineErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for EngineError[src]
impl Display for EngineErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for EngineError[src]
impl Error for EngineErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. 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 ErrorConsensus vote error.
fn from(e: EngineError) -> Self
fn from(e: EngineError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for EngineError
impl Send for EngineErrorimpl Sync for EngineError
impl Sync for EngineError