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

This commit is contained in:
Chao Xu 2022-04-06 18:41:23 -04:00 committed by GitHub
parent afeb1d3cca
commit 7ee1edddd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ pub enum GeyserPluginError {
/// Any custom error defined by the plugin.
#[error("Plugin-defined custom error. Error message: ({0})")]
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