< Summary

Information
Class: Services.ApiServices.NikeiApi.NikeiApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/NikeiApi/NikeiApiException.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
.ctor(...)100%11100%
get_StatusCode()100%210%
get_RequestPath()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/NikeiApi/NikeiApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.NikeiApi;
 2
 3public sealed class NikeiApiException : Exception
 4{
 5    public NikeiApiException(string message, int? statusCode = null, string? requestPath = null, Exception? innerExcepti
 36        : base(message, innerException)
 7    {
 38        StatusCode = statusCode;
 39        RequestPath = requestPath;
 310    }
 11
 012    public int? StatusCode { get; }
 113    public string? RequestPath { get; }
 14}