< Summary

Information
Class: Services.ApiServices.ProfitLigaApi.ProfitLigaApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ProfitLigaApi/ProfitLigaApiException.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 15
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%
get_StatusCode()100%11100%
get_RequestPath()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ProfitLigaApi/ProfitLigaApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.ProfitLigaApi;
 2
 3public sealed class ProfitLigaApiException : Exception
 4{
 5    public ProfitLigaApiException(string message, int? statusCode = null, string? requestPath = null,
 6        Exception? innerException = null)
 257        : base(message, innerException)
 8    {
 259        StatusCode = statusCode;
 2510        RequestPath = requestPath;
 2511    }
 12
 1213    public int? StatusCode { get; }
 1514    public string? RequestPath { get; }
 15}