eigen_nodeapi/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum NodeApiError {
5    /// Service id not found
6    #[error("Service with id {0} not found")]
7    ServiceIdNotFound(String),
8
9    /// Internal server error
10    #[error("Internal server error")]
11    InternalServerError,
12}