[][src]Trait sp_inherents::IsFatalError

pub trait IsFatalError {
    pub fn is_fatal_error(&self) -> bool;
}

Did we encounter a fatal error while checking an inherent?

A fatal error is everything that fails while checking an inherent error, e.g. the inherent was not found, could not be decoded etc. Then there are cases where you not want the inherent check to fail, but report that there is an action required. For example a timestamp of a block is in the future, the timestamp is still correct, but it is required to verify the block at a later time again and then the inherent check will succeed.

Required methods

pub fn is_fatal_error(&self) -> bool[src]

Is this a fatal error?

Loading content...

Implementors

impl<E: Encode> IsFatalError for MakeFatalError<E>[src]

Loading content...