ReferenceRust referencesigil-tower
sigil-tower · error
Source declarations, signatures and documentation for error.
Source: sigil/node/sigil-tower/src/error.rs. SHA-256: 37b92148281baf5bee8af05929f32c0b7712fb27af6534a9853e6a7e08e46f31.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
error::TowerError
Errors that can occur in Tower operations.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, thiserror::Error)]
pub enum TowerError {
#[error("invalid validator: {0}")]
InvalidValidator(String),
#[error("duplicate validator: {0}")]
DuplicateValidator(String),
#[error("validator not found: {0}")]
ValidatorNotFound(String),
#[error("slot error: {0}")]
SlotError(String),
#[error("committee error: {0}")]
CommitteeError(String),
#[error("finality error: {0}")]
FinalityError(String),
#[error("evidence error: {0}")]
EvidenceError(String),
#[error("tower committee error: {0}")]
TowerCommitteeError(String),
#[error("serialization error: {0}")]
SerializationError(String),
}Source line: 7.