Module hotshot_types::error
source · Expand description
Error type for HotShot
This module provides HotShotError
, which is an enum representing possible faults that can
occur while interacting with this crate.
Structs§
- SNAFU context selector for the
HotShotError::BlockError
variant - SNAFU context selector for the
HotShotError::Continue
variant - SNAFU context selector for the
HotShotError::FailedToBroadcast
variant - SNAFU context selector for the
HotShotError::FailedToMessageLeader
variant - SNAFU context selector for the
HotShotError::FailedToSerialize
variant - SNAFU context selector for the
HotShotError::InsufficientValidSignatures
variant - SNAFU context selector for the
HotShotError::InvalidState
variant - SNAFU context selector for the
HotShotError::LeafNotFound
variant - SNAFU context selector for the
HotShotError::Misc
variant - SNAFU context selector for the
HotShotError::NetworkFault
variant - SNAFU context selector for the
HotShotError::TimeoutError
variant - SNAFU context selector for the
HotShotError::ViewTimeoutError
variant
Enums§
- Error type for
HotShot
- Contains information about what the state of the hotshot-consensus was when a round timed out