We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d35c5af + 6ed61bc commit 237fe97Copy full SHA for 237fe97
templates/dotnet/src/Appwrite/Exception.cs.twig
@@ -5,14 +5,17 @@ namespace {{spec.title | caseUcfirst}}
5
public class {{spec.title | caseUcfirst}}Exception : Exception
6
{
7
public int? Code { get; set; }
8
+ public string? Type { get; set; } = null;
9
public string? Response { get; set; } = null;
10
11
public {{spec.title | caseUcfirst}}Exception(
12
string? message = null,
13
int? code = null,
14
+ string? type = null,
15
string? response = null) : base(message)
16
17
this.Code = code;
18
+ this.Type = type
19
this.Response = response;
20
}
21
public {{spec.title | caseUcfirst}}Exception(string message, Exception inner)
0 commit comments