backhopper-xref 0.30.0

Whole-program cross-reference analysis for Erlang projects: undefined-call detection, dead-export detection, reverse traversal, behaviour conformance, cross-tag diff
Documentation
// Copyright (C) 2026 Michael S. Klishin and Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
// See LICENSE-APACHE and LICENSE-MIT for details.

use backhopper_core::ApplicationName;
use backhopper_xref_graph::GraphError;
use backhopper_xref_reader::ReadError;
use thiserror::Error;

#[derive(Debug, Error)]
#[non_exhaustive]
pub enum XrefError {
    #[error(transparent)]
    Read(#[from] ReadError),

    #[error(transparent)]
    Graph(#[from] GraphError),

    #[error("duplicate application registered: {0}")]
    DuplicateApplication(ApplicationName),
}