-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: #181 Remove exception serialization * Update version.txt to 9.0.0-rc2
- Loading branch information
1 parent
b4f4905
commit 1b83092
Showing
4 changed files
with
19 additions
and
33 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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using System; | ||
|
||
namespace ClashOfClans.Models | ||
namespace ClashOfClans.Models | ||
{ | ||
/// <summary> | ||
/// Error message from the endpoint | ||
/// </summary> | ||
[Serializable] | ||
public class ClientError | ||
{ | ||
public string Reason { get; set; } = default!; | ||
|
||
public string Message { get; set; } = default!; | ||
|
||
public override string ToString() => $"Reason '{Reason}', message '{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
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