ISequentialMerkleProofsErrors
This interface should be inherited by any contract that uses the Sequential Merkle Proofs library in order to expose the errors that may be thrown by the library.
Errors
NoLeaves
Thrown when no leaves are provided.
error NoLeaves();
InvalidBitCount32Input
Thrown when the input to _bitCount32 is greater than type(uint32).max.
error InvalidBitCount32Input();
InvalidProof
Thrown when the proof is invalid.
error InvalidProof();
NoProofElements
Thrown when no proof elements are provided.
error NoProofElements();
InvalidLeafCount
Thrown when the leaf count is greater than type(uint32).max.
error InvalidLeafCount();