< Summary - pva.SuperV

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

#LineLine coverage
 1using pva.SuperV.Engine.Exceptions;
 2using System.Diagnostics.CodeAnalysis;
 3
 4namespace pva.SuperV.Api.Exceptions
 5{
 6    /// <summary>Exception thrown when updating an entity and changing a not changeable property.</summary>
 7    public class EntityPropertyNotChangeableException : SuperVException
 8    {
 9        public EntityPropertyNotChangeableException(string entityType, string propertyName)
 110            : base($"Property {propertyName} of {entityType} is not changeable")
 111        {
 112        }
 13
 14        [ExcludeFromCodeCoverage]
 15        public EntityPropertyNotChangeableException()
 16        {
 17        }
 18
 19        [ExcludeFromCodeCoverage]
 20        public EntityPropertyNotChangeableException(string? message, Exception? innerException) : base(message, innerExc
 21        {
 22        }
 23    }
 24}