< Summary

Information
Class: Services.ApiServices.MotexApi.MotexApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/MotexApi/MotexApiException.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/MotexApi/MotexApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.MotexApi;
 2
 3public sealed class MotexApiException : Exception
 4{
 35    public int? StatusCode { get; }
 06    public string? RequestPath { get; }
 7
 8    public MotexApiException(string message, int? statusCode = null, string? requestPath = null, Exception? innerExcepti
 89        : base(message, innerException)
 10    {
 811        StatusCode = statusCode;
 812        RequestPath = requestPath;
 813    }
 14}