namespace HrynCo.DAL.EF.Exceptions; using Microsoft.EntityFrameworkCore; public sealed class UnexpectedEntityStateException : Exception { public UnexpectedEntityStateException(EntityState state) : base($"Unexpected entity state: {state}") { } }