Add Program loader/environment instruction errors (#14120)
This commit is contained in:
@ -171,6 +171,15 @@ pub enum InstructionError {
|
||||
/// Cross-program invocation with unauthorized signer or writable account
|
||||
#[error("Cross-program invocation with unauthorized signer or writable account")]
|
||||
PrivilegeEscalation,
|
||||
|
||||
#[error("Failed to create program execution environment")]
|
||||
ProgramEnvironmentSetupFailure,
|
||||
|
||||
#[error("Program failed to complete")]
|
||||
ProgramFailedToComplete,
|
||||
|
||||
#[error("Program failed to compile")]
|
||||
ProgramFailedToCompile,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
|
||||
|
Reference in New Issue
Block a user