< Summary

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

#LineLine coverage
 1namespace Services.ApiServices.ShateMApi;
 2
 3public sealed class ShateMApiException : Exception
 4{
 05    public int? StatusCode { get; }
 06    public string? RequestPath { get; }
 7
 8    public ShateMApiException(string message, int? statusCode = null, string? requestPath = null, Exception? innerExcept
 109        : base(message, innerException)
 10    {
 1011        StatusCode = statusCode;
 1012        RequestPath = requestPath;
 1013    }
 14}