This module implements the hierarchy of domain-specific errors (exceptions) in the projection process.
All errors are derived from ProjectionError, which allows consumers to catch any system error with a single catch.
Several subclasses has been defined to categorize errors based on their origin:
-
ParseError: syntactic errors during parsing (paths, expressions, ...).
-
ResolutionError: errors during module resolution (cycles, not found, ...).
-
ValidationError: semantic errors prior to evaluation (scope, references, ...).
-
EvaluationError: errors at evaluation runtime (types, division by zero, ...).
-
AdapterError: errors specific to a syntax adapter (register, library, ...).