Initial commit

This commit is contained in:
Andrio Celos
2022-10-01 16:00:50 +10:00
commit 1f44ab6d56
45 changed files with 5268 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TableturfBattleServer;
public struct Error {
[JsonProperty("code")]
public string Code { get; }
[JsonProperty("description")]
public string Description { get; }
public Error(string code, string description) {
this.Code = code ?? throw new ArgumentNullException(nameof(code));
this.Description = description ?? throw new ArgumentNullException(nameof(description));
}
}