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

26 lines
No EOL
728 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>
/// Исключение, которое выбрасывается, если требуется подтверждение со стороны
/// пользователя.
/// Код ошибки - 24
/// </summary>
[Serializable]
[VkError(VkErrorCode.ConfirmationUser)]
public sealed class ConfirmationUserException : VkApiMethodInvokeException
{
/// <inheritdoc />
public ConfirmationUserException(VkError response) : base(response)
{
}
/// <inheritdoc />
private ConfirmationUserException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(new())
{
}
}