< Summary - pva.SuperV

Information
Class: pva.SuperV.Engine.Exceptions.EntityInUseException
Assembly: pva.SuperV.Engine
File(s): /home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Engine/Exceptions/EntityInUseException.cs
Tag: dotnet-ubuntu_18869653307
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 29
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%

File(s)

/home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Engine/Exceptions/EntityInUseException.cs

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2
 3namespace pva.SuperV.Engine.Exceptions
 4{
 5    /// <summary>Exception thrown when an entity is in use by another entity.</summary>
 6    public class EntityInUseException : SuperVException
 7    {
 8        public EntityInUseException(string entityType, string entityName, string className, List<string> usingFields) :
 49            base($"{entityType} {entityName} is in use by class {className}'s fields: {usingFields.Aggregate((a, b) => $
 410        {
 411        }
 12
 13        [ExcludeFromCodeCoverage]
 14        public EntityInUseException() : base()
 15        {
 16        }
 17
 18        [ExcludeFromCodeCoverage]
 19        public EntityInUseException(string? message) : base(message)
 20        {
 21        }
 22
 23        [ExcludeFromCodeCoverage]
 24        public EntityInUseException(string? message, Exception? innerException) : base(message, innerException)
 25        {
 26        }
 27
 28    }
 29}