8000 error codes: migrate query executor call sites to QRY-0xx codes · Issue #361 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content
  • error codes: migrate query executor call sites to QRY-0xx codes #361

    Closed

    Description

    @adityamukho

    Background

    Part of #277's rollout, step 5. Migrate query executor call sites to real QRY-0xx codes (9 documented codes in docs/ERROR_REFERENCE.md, all already anyhow-based).

    Scope

    bail!/anyhow! call sites in:

    • src/query/datalog/executor.rs
    • src/query/datalog/evaluator.rs
    • src/query/datalog/optimizer.rs
    • src/query/datalog/matcher.rs
    • src/query/datalog/magic_sets.rs

    Work item

    Migrate each site to bail_coded!/err_coded! with its real QRY-0xx code; add regression tests asserting the specific code comes back through the public API (limit/depth exceeded, recursion errors, type-mismatch-at-runtime paths).

    Depends on: #357 (merged)
    No dependency on the PRS/STG/WAL issues — independent module, can run in parallel.
    Part of #277

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Type

      No type

      Projects

      No projects

        Milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

      • 0