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

16 lines
442 B
C#

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