pop_fork/error/txpool.rs
1// SPDX-License-Identifier: GPL-3.0
2
3//! Txpool error types.
4
5use thiserror::Error;
6
7/// Errors that can occur when accessing the transaction pool.
8#[derive(Debug, Error)]
9pub enum TxPoolError {
10 /// Failed to acquire lock on the transaction pool.
11 #[error("TxPool acquire error: {0}")]
12 Lock(String),
13}