catala/tests/func/good
Louis Gesbert 9d07015864 Unify runtime error handling
- Clearly distinguish Exceptions from Errors. The only catchable exception
  available in our AST is `EmptyError`, so the corresponding nodes are made less
  generic, and a node `FatalError` is added

- Runtime errors are defined as a specific type in the OCaml runtime, with a
  carrier exception and printing functions. These are used throughout, and
  consistently by the interpreter. They always carry a position, that can be
  converted to be printed with the fancy compiler location printer, or in a
  simpler way from the backends.

- All operators that might be subject to an error take a position as argument,
  in order to print an informative message without relying on backtraces from
  the backend
2024-04-26 18:31:26 +02:00
..
closure_conversion_reduce.catala_en Unify runtime error handling 2024-04-26 18:31:26 +02:00
closure_conversion.catala_en Tests: remove redundant part in filenames 2024-02-12 18:03:16 +01:00
closure_return.catala_en Tests: remove redundant part in filenames 2024-02-12 18:03:16 +01:00
closure_through_scope.catala_en Branch cleanup and test outputs update 2024-04-04 10:55:21 +02:00
context_func.catala_en Improve message formatting throughout 2024-04-12 17:07:36 +02:00
func.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
param_consistency.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
scope_call_func_struct_closure.catala_en Unify runtime error handling 2024-04-26 18:31:26 +02:00