< Summary

Class:SharpHoundCommonLib.Exceptions.LdapConnectionException
Assembly:SharpHoundCommonLib
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\Exceptions\LdapConnectionException.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:14
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\Exceptions\LdapConnectionException.cs

#LineLine coverage
 1using System;
 2using System.DirectoryServices.Protocols;
 3
 4namespace SharpHoundCommonLib.Exceptions
 5{
 6    internal class LdapConnectionException : Exception
 7    {
 08        public int ErrorCode { get; }
 09        public LdapConnectionException(LdapException innerException) : base("Failed during ldap connection tests", inner
 010        {
 011            ErrorCode = innerException.ErrorCode;
 012        }
 13    }
 14}