Plumb TransactionError through Rpc
This commit is contained in:
committed by
Tyera Eulberg
parent
569a289a6f
commit
90c1300bb6
@@ -7,7 +7,7 @@ use bincode::serialize;
|
||||
use serde::Serialize;
|
||||
|
||||
/// Reasons the runtime might have rejected an instruction.
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
||||
pub enum InstructionError {
|
||||
/// Deprecated! Use CustomError instead!
|
||||
/// The program instruction returned an error
|
||||
|
Reference in New Issue
Block a user