đź§© Common Errors
AirdropNotStarted (100)
Airdrop has not started yet
This occurs when a user tries to claim before the `starts_at` time has passed.
AirdropEnded (101)
Airdrop has already ended
Thrown when the current time exceeds the `ends_at` timestamp.
InvalidOwner (200)
Transaction sender is not the owner
Happens when someone tries to update or close airdrops they didn’t create.
ControllerMismatch (204)
Mismatched controller
Returned when the controller provided in the instruction does not match the airdrop’s controller.
InvalidProof (500)
Invalid merkle proof
Triggered when a user submits a malformed or incorrect Merkle proof during a claim.
AlreadyClaimed (501)
Tokens already claimed
The bitmap indicates that this user already claimed their tokens.
InsufficientDeposit (600)
Insufficient SOL deposit
Occurs when the fee payer doesn't include enough lamports during airdrop or controller creation.
InvalidAmount (701)
Invalid amount
Occurs when the amount is 0 or exceeds expected bounds during creation or claim.
Overflow (702)
Arithmetic overflow
Any math operation (like summing amounts) that causes a u64 overflow will result in this error.