TLSharp/TLSharp.Core/Exceptions/MissingApiConfigurationException.cs

14 lines
433 B
C#
Raw Normal View History

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}")
{
}
}
}