catala/tests/modules/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
..
output Unify runtime error handling 2024-04-26 18:31:26 +02:00
external_use.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
mod_def_context.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
mod_def.catala_en Tests: remove redundant part in filenames 2024-02-12 18:03:16 +01:00
mod_middle.catala_en Tests: remove redundant part in filenames 2024-02-12 18:03:16 +01:00
mod_use2.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
mod_use3.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
mod_use_context.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
mod_use.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00
prorata_external.catala_en Tests: remove redundant part in filenames 2024-02-12 18:03:16 +01:00
prorata_external.ml Unify runtime error handling 2024-04-26 18:31:26 +02:00
prorata_syntax.catala_en Tests: add catala test-scope pseudo-command for inline tests 2024-02-26 14:56:43 +01:00