vknet_vk/VkNet/Exception/MethodHasBeenSwitchedOffException.cs
Инютин Максим Николаевич 3b145a3327 Рефакторинг проекта
2025-09-09 01:02:47 +03:00

27 lines
No EOL
888 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Runtime.Serialization;
using VkNet.Model;
using VkNet.Utils;
namespace VkNet.Exception;
/// <summary>
/// Исключение, которое выбрасывается, если метод был выключен.
/// Все актуальные методы ВК API, которые доступны в настоящий момент, перечислены
/// здесь: http://vk.ru/dev/methods.
/// Код ошибки - 23
/// </summary>
[Serializable]
[VkError(VkErrorCode.MethodHasBeenSwitchedOff)]
public sealed class MethodHasBeenSwitchedOffException : VkApiMethodInvokeException
{
/// <inheritdoc />
public MethodHasBeenSwitchedOffException(VkError response) : base(response)
{
}
/// <inheritdoc />
private MethodHasBeenSwitchedOffException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(new())
{
}
}