use anchor_lang::prelude::error_code;
#[error_code]
pub enum HplCompressionError {
#[msg("Tree provided in context is not active at the moment")]
TreeNotActive,
#[msg("Tree does not have any capacity to add more leaves")]
TreeFull,
#[msg("Active tree does not exist")]
ActiveTreeNotFound,
}