< Summary

Information
Class: Services.ApiServices.BergApi.BergApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/BergApi/BergApiException.cs
Line coverage
66%
Covered lines: 4
Uncovered lines: 2
Coverable lines: 6
Total lines: 14
Line coverage: 66.6%
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_StatusCode()100%210%
get_RequestPath()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/BergApi/BergApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.BergApi;
 2
 3public sealed class BergApiException : Exception
 4{
 05    public int? StatusCode { get; }
 06    public string? RequestPath { get; }
 7
 8    public BergApiException(string message, int? statusCode = null, string? requestPath = null, Exception? innerExceptio
 69        : base(message, innerException)
 10    {
 611        StatusCode = statusCode;
 612        RequestPath = requestPath;
 613    }
 14}