The GitHub Actions job "documentation" on burr.git/main has succeeded.
Run started by GitHub user skrawcz (triggered by skrawcz).

Head commit for run:
692789e21e2c950bd97c201d42356f8748affce3 / lif <[email protected]>
fix(persistence): improve error message for uninitialized SQLitePersister (#613)

* fix(persistence): improve error message for uninitialized SQLitePersister

When load(), save(), or list_app_ids() are called before initialize(),
raise a clear RuntimeError with actionable guidance instead of cryptic
sqlite3.OperationalError about missing table.

Closes #417

Signed-off-by: majiayu000 <[email protected]>

* refactor: extract error message to constant

Address review feedback: extract the uninitialized persister
error message to a module-level constant _UNINITIALIZED_PERSISTER_ERROR
and use it in all three places (list_app_ids, load, save).

---------

Signed-off-by: majiayu000 <[email protected]>

Report URL: https://github.com/apache/burr/actions/runs/20626915309

With regards,
GitHub Actions via GitBox

Reply via email to