Files
octokit.net/Octokit.Tests.Conventions/Exception/MissingClientConstructorTestClassException.cs

16 lines
439 B
C#

using System;
namespace Octokit.Tests.Conventions
{
public class MissingClientConstructorTestClassException : Exception
{
public MissingClientConstructorTestClassException(Type modelType)
: base(CreateMessage(modelType))
{ }
static string CreateMessage(Type ctorTest)
{
return string.Format("Constructor test class is missing {0}.", ctorTest.FullName);
}
}
}