Add account userdata errors

This commit is contained in:
Michael Vines 2018-12-03 22:21:55 -08:00
parent 228a5aa75d
commit f184d69c7a
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ pub enum ProgramError {
/// Program spent the tokens of an account that doesn't belong to it
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
AssignOfUnownedAccount,