[−][src]Enum sp_blockchain::Error
Substrate Client error
Variants
Consensus(Error)
Consensus Error
Backend(String)
Backend error.
UnknownBlock(String)
Unknown block.
ApplyExtrinsicFailed(ApplyExtrinsicFailed)
The apply_extrinsic
is not valid due to the given TransactionValidityError
.
Execution error.
Blockchain error.
Invalid authorities set received from the runtime.
VersionInvalid(String)
Could not get runtime version.
Genesis config is invalid.
Error decoding header justification.
BadJustification(String)
Justification for header is correctly encoded, but invalid.
Not available on light client.
Invalid remote CHT-based proof.
Remote fetch has been cancelled.
Remote fetch has been failed.
CallResultDecode(&'static str, CodecError)
Error decoding call result.
RuntimeParamConversion(String)
Error converting a parameter between runtime and node.
Changes tries are not supported.
Error reading changes tries configuration.
ChangesTrieAccessFailed(String)
Key changes query has failed.
NonSequentialFinalization(String)
Last finalized block not parent of current.
Safety violation: new best block not descendent of last finalized.
Hash that is required for building CHT is missing.
Invalid calculated state root on block import.
Incomplete block import pipeline.
Msg(String)
A convenience variant for String
Methods
impl Error
[src]
pub fn from_blockchain(e: Box<Error>) -> Self
[src]
Chain a blockchain error.
pub fn from_state(e: Box<dyn Error>) -> Self
[src]
Chain a state error.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<'a> From<&'a str> for Error
[src]
impl From<(&'static str, Error)> for Error
[src]
impl From<ApplyExtrinsicFailed> for Error
[src]
fn from(original: ApplyExtrinsicFailed) -> Error
[src]
impl From<Box<Error>> for Error
[src]
impl From<Box<dyn Error + 'static>> for Error
[src]
impl From<Error> for Error
[src]
impl From<String> for Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl !Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedConversion for T
[src]
fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<T> Error for T where
T: 'static + Send + Debug + Display,
[src]
T: 'static + Send + Debug + Display,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
fn from_ref(outer: &Outer) -> &T
Get a reference to the inner from the outer.
fn from_mut(outer: &mut Outer) -> &mut T
Get a mutable reference to the inner from the outer.
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDisplay for T where
T: Display,
T: Display,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Self: UniqueSaturatedFrom<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Self: UniqueSaturatedInto<T>,
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
T: UncheckedFrom<S>,
fn unchecked_into(self) -> T
impl<T, S> UniqueSaturatedInto<T> for S where
S: TryInto<T>,
T: Bounded,
S: TryInto<T>,
T: Bounded,
fn unique_saturated_into(self) -> T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,