You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Utilities/Exceptions/GenericTypeMismatchExceptio...

14 lines
401 B

using System;
using System.Diagnostics.CodeAnalysis;
namespace Connected.Utilities.Exceptions
{
[ExcludeFromCodeCoverage]
public class GenericTypeMismatchException : Exception
{
public GenericTypeMismatchException(string parent, string child, Type t1, Type t2) : base($"{parent}<{t1.Name}> has a child {child}<{t2}> with mismatching generic type.")
{
}
}
}