TLSharp/TLSharp.Core/Exceptions/MissingApiConfigurationException.cs
CheshireCaat 366c937260 Exceptions moved to separate folders (#899)
Exceptions from MtProtoSender.cs to TLSharp.Core/Network/Exceptions
Exceptions from TelegramClient.cs to TLSharp.Core/Exceptions
2020-04-01 14:59:56 +04:30

14 lines
433 B
C#

using System;
namespace TLSharp.Core.Exceptions
{
public class MissingApiConfigurationException : Exception
{
public const string InfoUrl = "https://github.com/sochix/TLSharp#quick-configuration";
internal MissingApiConfigurationException(string invalidParamName) :
base($"Your {invalidParamName} setting is missing. Adjust the configuration first, see {InfoUrl}")
{
}
}
}