mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
14 lines
433 B
C#
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}")
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|