using System;
using System.Runtime.Serialization;
using VkNet.Model;
using VkNet.Utils;
namespace VkNet.Exception;
///
/// Исключение, которое выбрасывается при внутренней ошибке сервера.
/// Попробуйте повторить запрос позже.
/// Код ошибки - 10
///
[Serializable]
[VkError(VkErrorCode.PublicServerError)]
public sealed class PublicServerErrorException : VkApiMethodInvokeException
{
///
public PublicServerErrorException(VkError response) : base(response)
{
}
///
private PublicServerErrorException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(new())
{
}
}