(cherry picked from commit 58487c6360
)
Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
@@ -180,6 +180,12 @@ pub enum InstructionError {
|
||||
|
||||
#[error("Program failed to compile")]
|
||||
ProgramFailedToCompile,
|
||||
|
||||
#[error("Account is immutable")]
|
||||
Immutable,
|
||||
|
||||
#[error("Incorrect authority provided")]
|
||||
IncorrectAuthority,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
|
||||
|
Reference in New Issue
Block a user