massa_pool_exports/
error.rs

1// Copyright (c) 2022 MASSA LABS <info@massa.net>
2
3use displaydoc::Display;
4use thiserror::Error;
5
6/// Pool error
7#[derive(Display, Error, Debug, Clone)]
8pub enum PoolError {
9    /// Lock timeout: failed to acquire read lock within the specified timeout period
10    LockTimeout,
11    /// Channel error: {0}
12    ChannelError(String),
13}