feat(domain): BATCH 2 - Permiso entity + catalogo const [UDT-005]

This commit is contained in:
2026-04-15 15:31:20 -03:00
parent 7d2190c37e
commit 7ddb71c24c
3 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
namespace SIGCM2.Domain.Exceptions;
public sealed class PermisoNotFoundException : Exception
{
public string Codigo { get; }
public PermisoNotFoundException(string codigo)
: base($"El permiso '{codigo}' no existe.")
{
Codigo = codigo;
}
}