You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README-nuget.md
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,11 +67,11 @@ In both cases the output will include de stack trace in `detail` object property
67
67
Example output
68
68
```json
69
69
{
70
+
"type": "VALIDATION_ERRORS",
70
71
"error": {
71
72
"msg": "Custom domain exception message",
72
73
"detail": "at CustomExceptionMiddleware.WebAppTest.Custom.ProductService.GetDomainException(Boolean returnProducts) in C:\\isaacnborges\\projects\\custom-exception-middleware\\tests\\CustomExceptionMiddleware.WebAppTest.Custom\\ProductService.cs:line 18\r\n at CustomExceptionMiddleware.WebAppTest.Custom.Controllers.ProductController.GetDomain(Boolean returnProduct) in C:\\isaacnborges\\projects\\custom-exception-middleware\\tests\\CustomExceptionMiddleware.WebAppTest.Custom\\Controllers\\ProductController.cs:line 26"
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,11 @@ In both cases the output will include de stack trace in `detail` object property
68
68
Example output
69
69
```json
70
70
{
71
+
"type": "VALIDATION_ERRORS",
71
72
"error": {
72
73
"msg": "Custom domain exception message",
73
74
"detail": "at CustomExceptionMiddleware.WebAppTest.Custom.ProductService.GetDomainException(Boolean returnProducts) in C:\\isaacnborges\\projects\\custom-exception-middleware\\tests\\CustomExceptionMiddleware.WebAppTest.Custom\\ProductService.cs:line 18\r\n at CustomExceptionMiddleware.WebAppTest.Custom.Controllers.ProductController.GetDomain(Boolean returnProduct) in C:\\isaacnborges\\projects\\custom-exception-middleware\\tests\\CustomExceptionMiddleware.WebAppTest.Custom\\Controllers\\ProductController.cs:line 26"
74
-
},
75
-
"type": "VALIDATION_ERRORS"
75
+
}
76
76
}
77
77
```
78
78
@@ -94,8 +94,14 @@ The custom middleware supports the following **Exceptions**:
0 commit comments