< Summary

Information
Class: Pozitron.QuerySpecification.EntityNotFoundException
Assembly: Pozitron.QuerySpecification
File(s): /home/runner/work/QuerySpecification/QuerySpecification/src/QuerySpecification/Exceptions/EntityNotFoundException.cs
Tag: 44_11195777782
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 19
Line coverage: 100%
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
.ctor()100%11100%
.ctor(...)100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/QuerySpecification/QuerySpecification/src/QuerySpecification/Exceptions/EntityNotFoundException.cs

#LineLine coverage
 1namespace Pozitron.QuerySpecification;
 2
 3public class EntityNotFoundException : Exception
 4{
 5    public EntityNotFoundException()
 16        : base($"The queried entity was not found!")
 7    {
 18    }
 9
 10    public EntityNotFoundException(string entityName)
 411        : base($"The queried entity: {entityName} was not found!")
 12    {
 413    }
 14
 15    public EntityNotFoundException(string entityName, Exception innerException)
 116        : base($"The queried entity: {entityName} was not found!", innerException)
 17    {
 118    }
 19}