mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-25 23:49:09 +00:00
13d5dab516
Port to .NET Core
23 lines
620 B
C#
23 lines
620 B
C#
using System;
|
|
|
|
namespace Octokit.Tests.Conventions
|
|
{
|
|
public class InterfaceNotFoundException : Exception
|
|
{
|
|
public InterfaceNotFoundException() { }
|
|
|
|
public InterfaceNotFoundException(string type)
|
|
: base(CreateMessage(type))
|
|
{ }
|
|
|
|
public InterfaceNotFoundException(string type, Exception innerException)
|
|
: base(CreateMessage(type), innerException)
|
|
{ }
|
|
|
|
static string CreateMessage(string type)
|
|
{
|
|
return string.Format("Could not find the interface {0}. Add this to the Octokit.Reactive project", type);
|
|
}
|
|
}
|
|
}
|