Skip to main content

erroracle/
lib.rs

1//! High-level response analysis and schema learning helpers for error-driven adaptive probing.
2//! Classifies server responses, extracts typed error insight, and synthesizes follow-up payloads.
3//! The crate is intentionally small and dependency-light to keep classification behavior stable.
4
5// Law 4: Maximal Elegance - keep code clean without suppressing useful warnings
6
7mod classifier;
8mod follow_up;
9mod schema;
10mod types;
11
12pub use classifier::{analyze_error, classify_response};
13pub use follow_up::generate_follow_up_payloads;
14pub use schema::{SchemaLearner, TargetModel};
15pub use types::{
16    ErrorInsight, FollowUpPayload, HttpResponse, InsightKind, LearnedSchema, LearnedType,
17    PropertySuggestion, ResponseAnalysis, ResponseDisposition,
18};