< Summary

Information
Class: FAU.Logica.Exceptions.PeriodoBloqueadoException
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/Exceptions/PeriodoBloqueadoException.cs
Line coverage
75%
Covered lines: 3
Uncovered lines: 1
Coverable lines: 4
Total lines: 12
Line coverage: 75%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_EstadoActual()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/Exceptions/PeriodoBloqueadoException.cs

#LineLine coverage
 1namespace FAU.Logica.Exceptions;
 2
 3public class PeriodoBloqueadoException : Exception
 4{
 05    public string EstadoActual { get; }
 6
 7    public PeriodoBloqueadoException(string estadoActual)
 58        : base($"El período está cerrado para modificaciones (estado actual: {estadoActual})")
 9    {
 510        EstadoActual = estadoActual;
 511    }
 12}