diff --git a/templates/dotnet/src/Appwrite/Exception.cs.twig b/templates/dotnet/src/Appwrite/Exception.cs.twig index eb967f9735..d78108a127 100644 --- a/templates/dotnet/src/Appwrite/Exception.cs.twig +++ b/templates/dotnet/src/Appwrite/Exception.cs.twig @@ -5,14 +5,17 @@ namespace {{spec.title | caseUcfirst}} public class {{spec.title | caseUcfirst}}Exception : Exception { public int? Code { get; set; } + public string? Type { get; set; } = null; public string? Response { get; set; } = null; public {{spec.title | caseUcfirst}}Exception( string? message = null, int? code = null, + string? type = null, string? response = null) : base(message) { this.Code = code; + this.Type = type this.Response = response; } public {{spec.title | caseUcfirst}}Exception(string message, Exception inner)