Giorgi/EntityFramework.Exceptions
Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 74
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2836
- days_rel: n/a
- days_push: 157
- n_releases_24m: 0
Adoption not part of the score
1735 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A .NET library that converts Entity Framework Core's generic DbUpdateException into strongly typed exceptions like UniqueConstraintException and CannotInsertNullException. It supports SQL Server, PostgreSQL, SQLite, Oracle, and MySQL by handling database-specific error details.
Use cases
- handle unique constraint violations in EF Core without parsing error numbers
- catch null insert errors with typed exceptions
- distinguish max length exceeded errors from other database failures
- write database-agnostic exception handling across SQL Server, PostgreSQL, MySQL, SQLite, and Oracle
- simplify error handling when saving changes with Entity Framework Core
When to choose
- you use Entity Framework Core and need to react to specific constraint violations
- you want database-agnostic typed exceptions instead of vendor-specific error codes
- you support multiple database providers and want uniform error handling
When to avoid
- you use raw ADO.NET or a micro-ORM like Dapper instead of EF Core
- you only need generic failure handling and don't care about the cause
- you use a database provider not among the supported five
Facets
library · maturity active
orm error-handling database databases developer-tools backend dotnet cross-platform entity-framework-core strongly-typed-exceptions sql-server postgresql mysql sqlite oracle dbupdateexception
2 sources
- readme: https://github.com/Giorgi/EntityFramework.Exceptions · fetched 2026-08-28 · 38c0dc6360dd
- homepage: https://giorgi.dev/entity-framework/introducing-entityframework-exceptions/ · fetched 2026-08-29 · f3eda04e4575
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Giorgi/EntityFramework.Exceptions | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="Giorgi/EntityFramework.Exceptions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem