Skip to content

v0.1.0 — First public release

Choose a tag to compare

@Dagin34 Dagin34 released this 03 Sep 08:49
· 15 commits to main since this release

First public release — now on PyPI.

pip install errium

Errium normalizes uncaught exceptions, HTTP exceptions, and request validation errors into one consistent, frontend-safe JSON shape.

Highlights

  • Framework-agnostic core (errium_core) — classification engine, contracts, formatters, normalizers, and dev/prod sanitization via ERRIUM_DEBUG.
  • Four adapters — FastAPI (errium), Flask (errium[flask]), Django Ninja (errium[ninja]), and Django REST Framework (errium[drf]).
  • Database classification — SQLAlchemy errors map to DATABASE_ERROR, uniqueness violations to DUPLICATE_RESOURCE, with no hard SQLAlchemy dependency.
  • Fully typed — all five packages ship py.typed; the source is checked under mypy --strict.

Requires Python 3.11+. See the changelog and docs.