MCPcopy Create free account
hub / github.com/base/base / ProviderError

Enum ProviderError

crates/execution/flashblocks/src/error.rs:29–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27/// Errors related to state provider and infrastructure operations.
28#[derive(Debug, Clone, Eq, PartialEq, Error)]
29pub enum ProviderError {
30 /// Missing canonical header for a given block number.
31 #[error(
32 "missing canonical header for block {block_number}. This can be ignored if the node has recently restarted, restored from a snapshot or is still syncing."
33 )]
34 MissingCanonicalHeader {
35 /// The block number for which the header is missing.
36 block_number: u64,
37 },
38
39 /// State provider error with context.
40 #[error("state provider error: {0}")]
41 StateProvider(String),
42}
43
44/// Errors related to transaction execution and processing.
45#[derive(Debug, Clone, Eq, PartialEq, Error)]

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected