//! `/debug/schema` service error contracts.
//!
//! This module centralizes report-loading service failure variants so service
//! orchestration and HTTP error mapping share one focused error contract.
use actix_web::HttpResponse;
use super::debug_snapshot_error::LoggingSchemaSnapshotError;
/// Failures while loading a logging-schema diagnostics report.
pub(super) enum LoggingSchemaDebugReportError {
/// Logging client resolution or pool access failed.
ResolveLoggingClient(HttpResponse),
/// Snapshot fetch failed.
FetchSnapshot(LoggingSchemaSnapshotError),
}