< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Client.Exceptions.ClientException
Assembly: NLightning.Domain
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Domain/Client/Exceptions/ClientException.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 7
Coverable lines: 7
Total lines: 16
Line coverage: 0%
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_ErrorCode()100%210%
.ctor(...)100%210%
.ctor(...)100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Domain/Client/Exceptions/ClientException.cs

#LineLine coverage
 1namespace NLightning.Domain.Client.Exceptions;
 2
 3public class ClientException : Exception
 4{
 05    public string ErrorCode { get; set; }
 6
 07    public ClientException(string errorCode, string message) : base(message)
 8    {
 09        ErrorCode = errorCode;
 010    }
 11
 012    public ClientException(string errorCode, string message, Exception innerException) : base(message, innerException)
 13    {
 014        ErrorCode = errorCode;
 015    }
 16}