Skip to content

Expose parse errors in the Clean API

Camil Staps requested to merge expose-parse-errors-in-Clean-API into pre-2.0

What does this MR do?

Exposes parse errors in the Clean API.

Changes to public APIs

  • deserialize, get_start_rule_as_expression, and prepare_prelinked_interpretation now return a MaybeError String .. instead of a ? ..
  • DV_ParseError now has a String argument.

Author's checklist (required)

  • If bugs have been solved, tests have been added (guidelines)
  • A changelog entry has been added (guidelines)
  • Newly added code is documented (guidelines)
  • Newly added code has a style consistent with the rest of the repository
  • Intermediate commits compile (use git rebase -i main if not)

Related issues

Descriptive error messages were added in !233 (merged).

Merge request reports

Loading