add transaction update error to geyser plugin interface. (#24140)

(cherry picked from commit 7ee1edddd1)
This commit is contained in:
Chao Xu
2022-04-06 18:41:23 -04:00
committed by mergify-bot
parent 36122a27af
commit 7c5f912573

View File

@ -107,6 +107,10 @@ pub enum GeyserPluginError {
/// Any custom error defined by the plugin. /// Any custom error defined by the plugin.
#[error("Plugin-defined custom error. Error message: ({0})")] #[error("Plugin-defined custom error. Error message: ({0})")]
Custom(Box<dyn error::Error + Send + Sync>), Custom(Box<dyn error::Error + Send + Sync>),
/// Error when updating the transaction.
#[error("Error updating transaction. Error message: ({msg})")]
TransactionUpdateError { msg: String },
} }
/// The current status of a slot /// The current status of a slot