< Summary

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

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ZZapApi/ZZapApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.ZZapApi;
 2
 3public sealed class ZZapApiException : Exception
 4{
 5    public ZZapApiException(string message, int? statusCode = null, string? requestPath = null,
 6        Exception? innerException = null)
 237        : base(message, innerException)
 8    {
 239        StatusCode = statusCode;
 2310        RequestPath = requestPath;
 2311    }
 12
 613    public int? StatusCode { get; }
 014    public string? RequestPath { get; }
 15}