iota_analytics_indexer/
errors.rs

1// Copyright (c) Mysten Labs, Inc.
2// Modifications Copyright (c) 2024 IOTA Stiftung
3// SPDX-License-Identifier: Apache-2.0
4
5use thiserror::Error;
6
7#[derive(Debug, Error)]
8pub enum AnalyticsIndexerError {
9    #[error("Generic error: `{0}`")]
10    Generic(String),
11    #[error("Failed to retrieve the current directory.")]
12    CurrentDir,
13}