123456789101112131415 |
- use anchor_lang::prelude::*;
- #[error_code]
- pub enum WorldError {
- #[msg("Invalid authority for instruction")]
- InvalidAuthority,
- #[msg("The provided world account does not match the expected PDA.")]
- WorldAccountMismatch,
- #[msg("Exceed the maximum number of authorities.")]
- TooManyAuthorities,
- #[msg("The provided authority not found")]
- AuthorityNotFound,
- #[msg("The system is not approved in this world instance")]
- SystemNotApproved,
- }
|