hpl-toolkit 0.0.5

HPL toolkit
Documentation
use anchor_lang::prelude::error_code;

#[error_code]
pub enum HplToolkitError {
    #[msg("Opertaion overflowed")]
    Overflow,

    #[msg("NFT validation failed")]
    InvalidNFT,

    #[msg("Invalid New Authority Record")]
    InvalidNewAuthorityRecord,

    #[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,

    #[msg("Schema container is empty")]
    SchemaContainerEmpty,

    #[msg("Schema Value container is empty")]
    SchemaValueContainerEmpty,
}