-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AuthorizationFormHtmlParser: улучшить обработку ошибок
- Loading branch information
Showing
3 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace VkNet.Model | ||
{ | ||
/// <summary> | ||
/// Authorization error. | ||
/// </summary> | ||
[Serializable] | ||
public class VkAuthError | ||
{ | ||
/// <summary> | ||
/// Error. | ||
/// </summary> | ||
[JsonProperty("error")] | ||
public string Error { get; set; } | ||
|
||
/// <summary> | ||
/// Error type. | ||
/// </summary> | ||
[JsonProperty("error_type")] | ||
public string ErrorType { get; set; } | ||
|
||
/// <summary> | ||
/// Error description. | ||
/// </summary> | ||
[JsonProperty("error_description")] | ||
public string ErrorDescription { get; set; } | ||
|
||
/// <summary> | ||
/// Captcha id. | ||
/// </summary> | ||
[JsonProperty("captcha_sid")] | ||
public ulong? CaptchaSid { get; set; } | ||
|
||
/// <summary> | ||
/// Captcha image Uri. | ||
/// </summary> | ||
[JsonProperty("captcha_img")] | ||
public Uri CaptchaImg { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters