spl_token_group_interface/
error.rs1use spl_program_error::*;
4
5#[spl_program_error]
7pub enum TokenGroupError {
8 #[error("Size is greater than proposed max size")]
10 SizeExceedsNewMaxSize,
11 #[error("Size is greater than max size")]
13 SizeExceedsMaxSize,
14 #[error("Group is immutable")]
16 ImmutableGroup,
17 #[error("Incorrect mint authority has signed the instruction")]
19 IncorrectMintAuthority,
20 #[error("Incorrect update authority has signed the instruction")]
22 IncorrectUpdateAuthority,
23 #[error("Member account should not be the same as the group account")]
25 MemberAccountIsGroupAccount,
26}