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

net-daemon / netdaemon / 6594659689

19 Oct 2023 05:58PM UTC coverage: 80.941% (-0.3%) from 81.222%
6594659689

push

github

web-flow
Fix alot of warnings (#956)

811 of 1148 branches covered (0.0%)

Branch coverage included in aggregate %.

28 of 28 new or added lines in 15 files covered. (100.0%)

2939 of 3485 relevant lines covered (84.33%)

50.62 hits per line

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

45.45
/src/Client/NetDaemon.HassClient/Common/Exceptions/HomeAssistantConnectionException.cs
1
namespace NetDaemon.Client.Exceptions;
2

3
// We allow exception not to have default constructors since
4
// in this case it only makes sense to have a reason
5
[SuppressMessage("", "RCS1194")]
6
public class HomeAssistantConnectionException : Exception
7
{
8
    public HomeAssistantConnectionException(DisconnectReason reason) : base(
4✔
9
        $"Home assistant disconnected reason:{reason}")
4✔
10
    {
11
        Reason = reason;
4✔
12
    }
4✔
13

14
    public DisconnectReason Reason { get; set; }
6✔
15

16
    public HomeAssistantConnectionException()
×
17
    {
18
    }
×
19

20
    public HomeAssistantConnectionException(string message) : base(message)
×
21
    {
22
    }
×
23

24
    public HomeAssistantConnectionException(string message, Exception innerException) : base(message, innerException)
×
25
    {
26
    }
×
27
}
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