namespace SIGCM2.Domain.Exceptions; /// /// UDT-009: Thrown when the same code appears in both grant and deny arrays. /// Maps to 400 { title: "grant-deny-overlap", overlap: [...] }. /// public sealed class GrantDenyOverlapException : Exception { public IReadOnlyList Overlap { get; } public GrantDenyOverlapException(IReadOnlyList overlap) : base($"Los siguientes códigos aparecen en grant y deny simultáneamente: {string.Join(", ", overlap)}") { Overlap = overlap; } }