< Summary - pva.SuperV

Information
Class: pva.SuperV.Api.Exceptions.NonRunnableProjectException
Assembly: pva.SuperV.Api
File(s): /home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Api/Exceptions/NonRunnableProjectException.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/NonRunnableProjectException.cs

#LineLine coverage
 1using pva.SuperV.Engine.Exceptions;
 2using System.Diagnostics.CodeAnalysis;
 3
 4namespace pva.SuperV.Api.Exceptions
 5{
 6    /// <summary>Exception thrown when trying to build from a non runnable project.</summary>
 7    public class NonRunnableProjectException : SuperVException
 8    {
 9        public NonRunnableProjectException(string projectId)
 210            : base($"Project with ID {projectId} is not a runnable project")
 211        {
 212        }
 13
 14        [ExcludeFromCodeCoverage]
 15        public NonRunnableProjectException()
 16        {
 17        }
 18
 19        [ExcludeFromCodeCoverage]
 20        public NonRunnableProjectException(string? message, Exception? innerException) : base(message, innerException)
 21        {
 22        }
 23    }
 24}

Methods/Properties

.ctor(System.String)