Skip to content

Commit 4539042

Browse files
remove appwrite name from templates
1 parent ba5f611 commit 4539042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/dotnet/src/Appwrite/Client.cs.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ namespace {{ spec.title | caseUcfirst }}
166166

167167
if (code >= 400) {
168168
var message = response["message"].ToString();
169-
throw new AppwriteException(message, code, response.ToString());
169+
throw new {{spec.title | caseUcfirst}}Exception(message, code, response.ToString());
170170
}
171171

172172
return httpResponseMessage;
173173
}
174174
catch (System.Exception e)
175175
{
176-
throw new AppwriteException(e.Message, e);
176+
throw new {{spec.title | caseUcfirst}}Exception(e.Message, e);
177177
}
178178

179179
}

0 commit comments

Comments
 (0)