File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ public class CustomErrorDetailResponse
5
5
/// <summary>
6
6
/// Exception type to identificate what error was throw
7
7
/// </summary>
8
+ /// <example>VALIDATION_ERRORS</example>
8
9
public string Type { get ; set ; }
9
10
10
11
/// <summary>
@@ -35,11 +36,13 @@ public class CustomErrorDetail
35
36
/// <summary>
36
37
/// Error message
37
38
/// </summary>
39
+ /// <example>Item not found</example>
38
40
public string Msg { get ; set ; }
39
41
40
42
/// <summary>
41
43
/// StackTrace error message
42
44
/// </summary>
45
+ /// <example>at CustomExceptionMiddleware.WebAppTest.Custom.ProductService.GetDomainException(Boolean returnProducts)</example>
43
46
public string Detail { get ; set ; }
44
47
45
48
/// <summary>
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ public class CustomErrorResponse
5
5
/// <summary>
6
6
/// Exception type to identificate what error was throw
7
7
/// </summary>
8
+ /// <example>VALIDATION_ERRORS</example>
8
9
public string Type { get ; set ; }
9
10
10
11
/// <summary>
@@ -35,6 +36,7 @@ public class CustomError
35
36
/// <summary>
36
37
/// Error message
37
38
/// </summary>
39
+ /// <example>Item not found</example>
38
40
public string Msg { get ; set ; }
39
41
40
42
/// <summary>
You can’t perform that action at this time.
0 commit comments