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

Skip to content

error codes: migrate WAL call sites to WAL-0xx codes #360

Closed

Description

@adityamukho

Background

Part of #277's rollout, step 4. Migrate WAL call sites in src/wal.rs to real WAL-0xx codes (6 documented codes in docs/ERROR_REFERENCE.md, all already anyhow-based).

Work item

Migrate src/wal.rs's bail!/anyhow! call sites to bail_coded!/err_coded! with their real WAL-0xx codes; add regression tests asserting the specific code comes back through the public API (WAL corruption, size-limit, and replay-failure paths).

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

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