use spl_program_error::*;
#[spl_program_error]
pub enum TokenGroupError {
#[error("Size is greater than proposed max size")]
SizeExceedsNewMaxSize,
#[error("Size is greater than max size")]
SizeExceedsMaxSize,
#[error("Group is immutable")]
ImmutableGroup,
#[error("Incorrect mint authority has signed the instruction")]
IncorrectMintAuthority,
#[error("Incorrect update authority has signed the instruction")]
IncorrectUpdateAuthority,
#[error("Member account should not be the same as the group account")]
MemberAccountIsGroupAccount,
}