Add account userdata errors
This commit is contained in:
parent
228a5aa75d
commit
f184d69c7a
|
@ -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,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue