Add account userdata errors
This commit is contained in:
@ -25,6 +25,12 @@ pub enum ProgramError {
|
|||||||
/// Program spent the tokens of an account that doesn't belong to it
|
/// Program spent the tokens of an account that doesn't belong to it
|
||||||
ExternalAccountTokenSpend,
|
ExternalAccountTokenSpend,
|
||||||
|
|
||||||
|
/// An account's userdata contents was invalid
|
||||||
|
InvalidUserdata,
|
||||||
|
|
||||||
|
/// An account's userdata was too small
|
||||||
|
UserdataTooSmall,
|
||||||
|
|
||||||
/// SystemInstruction::Assign was attempted on an account unowned by the system program
|
/// SystemInstruction::Assign was attempted on an account unowned by the system program
|
||||||
AssignOfUnownedAccount,
|
AssignOfUnownedAccount,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user