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
{{ message }}
This repository was archived by the owner on Aug 30, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: .github/workflows/codeql-analysis.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,11 @@ jobs:
48
48
# If you wish to specify custom queries, you can do so here or in a config file.
49
49
# By default, queries listed here will override any specified in a config file.
50
50
# Prefix the list here with "+" to use these queries and those in the config file.
51
-
51
+
52
52
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
53
# queries: security-extended,security-and-quality
54
54
55
-
55
+
56
56
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
57
# If this step fails, then you should remove it and run the build manually (see below)
58
58
- name: Autobuild
@@ -61,7 +61,7 @@ jobs:
61
61
# ℹ️ Command-line programs to run using the OS shell.
62
62
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
63
64
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
64
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65
65
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
How to create a custom error problem details for example in a controller
133
132
134
133
```csharp
@@ -177,10 +176,10 @@ public class HomeController : ControllerBase
177
176
```
178
177
179
178
180
-
#### Customize problem link and problem title<aname="ErrorHandler.CustomizeLinkAndTitle"></a>
179
+
#### Customize problem link and problem title<aname="ErrorHandler.CustomizeLinkAndTitle"></a>
181
180
Exception mapping to status code and error codes
182
181
183
-
##### Add new custom status code<aname="ErrorHandler.CustomizeLinkAndTitle.AddNew"></a>
182
+
##### Add new custom status code<aname="ErrorHandler.CustomizeLinkAndTitle.AddNew"></a>
184
183
```csharp
185
184
publicclassStartup
186
185
{
@@ -198,7 +197,7 @@ public class Startup
198
197
}
199
198
```
200
199
201
-
##### Change link and title for a specific status code<aname="ErrorHandler.CustomizeLinkAndTitle.Change"></a>
200
+
##### Change link and title for a specific status code<aname="ErrorHandler.CustomizeLinkAndTitle.Change"></a>
202
201
203
202
Add your customization after `services.AddErrorHandler();` because it will override the defaults status codes
204
203
```csharp
@@ -220,4 +219,4 @@ public class Startup
220
219
221
220
## Contribution <aname="contribution"></a>
222
221
223
-
If you have any questions, comments, or suggestions, please open an [issue](https://github.com/TechNobre/PowerUtils.AspNetCore.ErrorHandler/issues/new/choose) or create a [pull request](https://github.com/TechNobre/PowerUtils.AspNetCore.ErrorHandler/compare)
222
+
If you have any questions, comments, or suggestions, please open an [issue](https://github.com/TechNobre/PowerUtils.AspNetCore.ErrorHandler/issues/new/choose) or create a [pull request](https://github.com/TechNobre/PowerUtils.AspNetCore.ErrorHandler/compare)
0 commit comments