use kona_protocol::MAX_SPAN_BATCH_ELEMENTS;
use thiserror::Error;
#[derive(Error, Debug, PartialEq, Eq)]
pub enum BatchDecompressionError {
#[error("The batch exceeds the maximum number of elements: {max_size}", max_size = MAX_SPAN_BATCH_ELEMENTS)]
BatchTooLarge,
}