File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
modules/swagger-codegen/src/main/resources/csharp Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ namespace {{invokerPackage}} {
11
11
/// < value> The error code (HTTP status code).< /value>
12
12
public int ErrorCode { get; set; }
13
13
14
+ /// <summary >
15
+ /// Gets or sets the error content (body json object)
16
+ /// </summary >
17
+ /// <value >The error content (Http response body).</value >
14
18
public dynamic ErrorContent { get; private set; }
15
19
16
20
/// <summary >
@@ -29,8 +33,8 @@ namespace {{invokerPackage}} {
29
33
}
30
34
31
35
public ApiException(int errorCode, string message, dynamic errorContent = null) : base(message) {
32
- this.errorCode = errorCode;
33
- this.errorContent = errorContent;
36
+ this.ErrorCode = errorCode;
37
+ this.ErrorContent = errorContent;
34
38
}
35
39
36
40
}
You can’t perform that action at this time.
0 commit comments