Expand description
Unified error reporting IR for Eure.
This module provides a standardized ErrorReport structure that can represent
errors from all Eure crates (parser, document, schema, etc.) and be rendered
to multiple outputs (CLI via annotate-snippets, LSP Diagnostics).
Structs§
- Error
Report - A complete error report with location and structured content.
- Error
Reports - A collection of error reports.
- Origin
- A location in source code with semantic context hints.
- Origin
Hints - Semantic context hints that aid in navigation and understanding.
Enums§
- Annotation
Kind - Kind of annotation marker on a span.
- Element
- An element within an error report.
- Severity
- Severity level of an error report.
Traits§
- Into
Error Reports - Trait for errors that can be converted to ErrorReports.
Functions§
- error_
reports_ comparator - Error comparator for query-flow that compares ErrorReports by value.
- format_
error_ report - Render an ErrorReport to a string using annotate-snippets.
- format_
error_ reports - Render multiple ErrorReports to a string.
- report_
config_ error - Convert a ConfigError to ErrorReports.
- report_
conversion_ error - Convert a schema conversion error to an ErrorReport.
- report_
document_ error - Convert a document construction error to an ErrorReport. Uses OriginMap for precise key span resolution when available.
- report_
from_ eure_ parse_ error - Convert a FromEure ParseError to ErrorReports.
- report_
parse_ error - Convert a parse error to ErrorReports.
- report_
schema_ load_ error - Convert an EureQueryError to an ErrorReport for schema loading failures.
- report_
schema_ validation_ errors - Convert schema validation errors to ErrorReports.