• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loresoft / MediatR.CommandQuery / 8911801772

01 May 2024 04:09PM UTC coverage: 57.379% (-1.8%) from 59.163%
8911801772

push

github

pwelter34
tweak build

342 of 700 branches covered (48.86%)

Branch coverage included in aggregate %.

1011 of 1658 relevant lines covered (60.98%)

18.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

23.08
/src/MediatR.CommandQuery/DomainException.cs
1
using System.Net;
2

3
namespace MediatR.CommandQuery;
4

5
public class DomainException : Exception
6
{
7
    public DomainException(HttpStatusCode statusCode, string message) : base(message)
4✔
8
    {
9
        StatusCode = (int)statusCode;
4✔
10
    }
4✔
11

12
    public DomainException(HttpStatusCode statusCode, string message, Exception innerException) : base(message, innerException)
×
13
    {
14
        StatusCode = (int)statusCode;
×
15
    }
×
16

17
    public DomainException(int statusCode, string message) : base(message)
×
18
    {
19
        StatusCode = statusCode;
×
20
    }
×
21

22
    public DomainException(int statusCode, string message, Exception innerException) : base(message, innerException)
×
23
    {
24
        StatusCode = statusCode;
×
25
    }
×
26

27
    public int StatusCode { get; }
×
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc