From 7ee1edddd13816497ef8d85af99e3cb77e7acdfa Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Wed, 6 Apr 2022 18:41:23 -0400 Subject: [PATCH] add transaction update error to geyser plugin interface. (#24140) --- geyser-plugin-interface/src/geyser_plugin_interface.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/geyser-plugin-interface/src/geyser_plugin_interface.rs b/geyser-plugin-interface/src/geyser_plugin_interface.rs index fc363487bc..37653eaa4c 100644 --- a/geyser-plugin-interface/src/geyser_plugin_interface.rs +++ b/geyser-plugin-interface/src/geyser_plugin_interface.rs @@ -107,6 +107,10 @@ pub enum GeyserPluginError { /// Any custom error defined by the plugin. #[error("Plugin-defined custom error. Error message: ({0})")] Custom(Box), + + /// Error when updating the transaction. + #[error("Error updating transaction. Error message: ({msg})")] + TransactionUpdateError { msg: String }, } /// The current status of a slot