mirror of
https://github.com/vknet/vk.git
synced 2026-07-16 11:28:27 +00:00
26 lines
No EOL
752 B
C#
26 lines
No EOL
752 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using VkNet.Model;
|
|
using VkNet.Utils;
|
|
|
|
namespace VkNet.Exception;
|
|
|
|
/// <summary>
|
|
/// Исключение, которое выбрасывается при внутренней ошибке сервера.
|
|
/// Попробуйте повторить запрос позже.
|
|
/// Код ошибки - 10
|
|
/// </summary>
|
|
[Serializable]
|
|
[VkError(VkErrorCode.PublicServerError)]
|
|
public sealed class PublicServerErrorException : VkApiMethodInvokeException
|
|
{
|
|
/// <inheritdoc />
|
|
public PublicServerErrorException(VkError response) : base(response)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
private PublicServerErrorException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(new())
|
|
{
|
|
}
|
|
} |