mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-10 04:51:22 +00:00
19 lines
458 B
Rust
19 lines
458 B
Rust
use tree_hash::TreeHashType;
|
|
|
|
#[derive(Debug, PartialEq, Clone)]
|
|
pub enum Error {
|
|
ShouldNotProduceBTreeOverlay,
|
|
NoFirstNode,
|
|
NoBytesForRoot,
|
|
UnableToObtainSlices,
|
|
UnableToGrowMerkleTree,
|
|
UnableToShrinkMerkleTree,
|
|
TreeCannotHaveZeroNodes,
|
|
ShouldNeverBePacked(TreeHashType),
|
|
BytesAreNotEvenChunks(usize),
|
|
NoModifiedFieldForChunk(usize),
|
|
NoBytesForChunk(usize),
|
|
NoSchemaForIndex(usize),
|
|
NotLeafNode(usize),
|
|
}
|