add transaction update error to geyser plugin interface. (#24140)
This commit is contained in:
parent
afeb1d3cca
commit
7ee1edddd1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue