< Summary

Information
Class: Services.ApiServices.FidApi.FidApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/FidApi/FidApiException.cs
Line coverage
83%
Covered lines: 5
Uncovered lines: 1
Coverable lines: 6
Total lines: 14
Line coverage: 83.3%
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%11100%
get_RequestPath()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/FidApi/FidApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.FidApi;
 2
 3public sealed class FidApiException : Exception
 4{
 15    public int? StatusCode { get; }
 06    public string? RequestPath { get; }
 7
 8    public FidApiException(string message, int? statusCode = null, string? requestPath = null, Exception? innerException
 39        : base(message, innerException)
 10    {
 311        StatusCode = statusCode;
 312        RequestPath = requestPath;
 313    }
 14}