Module errors

Module errors 

Source
Expand description

Error handling module.

This module provides the core error types and utilities used throughout the Carmen language implementation. It includes position tracking, error categorization, and convenient error handling patterns.

Modules§

reporter
Error reporting functionality for displaying formatted error messages.

Structs§

CarmenError
The main error type for the application, combining a source and a span.
Position
Represents a position in source code with line, column, and absolute offset.
Span
Represents a range in source code from a start position to an end position.

Enums§

ErrorSource
A span-less error representing the source of the problem.

Traits§

AddSpan
A trait for conveniently adding a span to an ErrorSource.

Type Aliases§

CoreResult
A result type for core logic that does not have access to span information.
Result
The default result type for most fallible operations in the language pipeline.