ekzg_single_open/errors.rs
1/// Errors that can occur when verifying a blob proof using the Verifier API.
2#[derive(Debug)]
3pub enum VerifierError {
4 /// The proof failed verification.
5 InvalidProof,
6 /// Inputs to batch verification did not have consistent lengths.
7 BatchVerificationInputsMustHaveSameLength {
8 /// Number of blobs provided as input.
9 blobs_len: usize,
10 /// Number of corresponding KZG commitments.
11 commitments_len: usize,
12 /// Number of provided KZG proofs.
13 proofs_len: usize,
14 },
15}