sui_analytics_indexer/
errors.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

use thiserror::Error;

#[derive(Debug, Error)]
pub enum AnalyticsIndexerError {
    #[error("Generic error: `{0}`")]
    GenericError(String),
    #[error("Failed to retrieve the current directory.")]
    CurrentDirError,
}