< Summary

Information
Class: Services.ApiServices.ForumAutoApi.ForumAutoApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ForumAutoApi/ForumAutoApiException.cs
Line coverage
75%
Covered lines: 6
Uncovered lines: 2
Coverable lines: 8
Total lines: 16
Line coverage: 75%
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_FaultCode()100%11100%
get_RequestPath()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ForumAutoApi/ForumAutoApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.ForumAutoApi;
 2
 3public sealed class ForumAutoApiException : Exception
 4{
 05    public int? StatusCode { get; }
 16    public int? FaultCode { get; }
 07    public string? RequestPath { get; }
 8
 9    public ForumAutoApiException(string message, int? statusCode = null, int? faultCode = null,
 410        string? requestPath = null, Exception? innerException = null) : base(message, innerException)
 11    {
 412        StatusCode = statusCode;
 413        FaultCode = faultCode;
 414        RequestPath = requestPath;
 415    }
 16}