-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error output supplemented by error from Twitch
Redo of PR 378 - Credit Neon-Sunset
- Loading branch information
Showing
2 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
TwitchLib.Api.Core/HttpCallHandlers/TwitchErrorResponse.cs
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,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace TwitchLib.Api.Core.HttpCallHandlers | ||
{ | ||
public class TwitchErrorResponse | ||
{ | ||
[JsonProperty("error")] | ||
public string Error; | ||
|
||
[JsonProperty("status")] | ||
public int Status; | ||
|
||
[JsonProperty("message")] | ||
public string Message; | ||
} | ||
} |
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