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: src/ErrorHandlerExtensions.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
10
10
namespacePowerUtils.AspNetCore.ErrorHandler
11
11
{
12
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
12
13
publicstaticclassErrorHandlerExtensions
13
14
{
14
15
/// <summary>
@@ -17,6 +18,7 @@ public static class ErrorHandlerExtensions
17
18
/// </summary>
18
19
/// <param name="services">The service collection to add the services to.</param>
19
20
/// <param name="options">Options for handling exceptions and errors</param>
21
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
@@ -70,6 +72,7 @@ public static IServiceCollection AddErrorHandler(this IServiceCollection service
70
72
/// Adds the <see cref="ErrorHandlerMiddleware"/> and <see cref="ExceptionHandlerMiddleware"/> to the application pipeline.
71
73
/// </summary>
72
74
/// <param name="app">The application builder to add the middleware to.</param>
75
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
Copy file name to clipboardExpand all lines: src/ErrorHandlerOptions.cs
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,29 +5,35 @@
5
5
6
6
namespacePowerUtils.AspNetCore.ErrorHandler
7
7
{
8
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
31
37
publicPropertyNamingPolicyPropertyNamingPolicy
32
38
{
33
39
get=>_propertyNamingPolicy;
@@ -38,10 +44,12 @@ public PropertyNamingPolicy PropertyNamingPolicy
38
44
}
39
45
}
40
46
47
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
45
53
publicErrorHandlerOptions()
46
54
{
47
55
ExceptionMappers.Add(
@@ -69,8 +77,10 @@ public ErrorHandlerOptions()
69
77
}
70
78
}
71
79
80
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
72
81
publicstaticclassErrorHandlerOptionsExtensions
73
82
{
83
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
@@ -92,10 +102,12 @@ public static void ExceptionMapper<TException>(this ErrorHandlerOptions options,
92
102
}
93
103
}
94
104
105
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
11
12
publicclassErrorProblemDetails:ProblemDetails
12
13
{
13
14
/// <summary>
14
15
/// ID generated by the problem to track logs
15
16
/// </summary>
16
17
[JsonPropertyName("traceId")]
18
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
17
19
publicstringTraceId{get;set;}
18
20
19
21
/// <summary>
@@ -22,40 +24,49 @@ public class ErrorProblemDetails : ProblemDetails
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
/// Initializes a new instance of <see cref="ErrorProblemDetails"/>.
29
32
/// </summary>
33
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
30
34
publicErrorProblemDetails(){}
31
35
32
36
/// <summary>
33
37
/// Serialize problem details to JSON
34
38
/// </summary>
39
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
35
40
publicoverridestringToString()
36
41
=>JsonSerializer.Serialize(this);
37
42
43
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
43
50
publicclassErrorDetails
44
51
{
45
52
/// <summary>
46
53
/// Error code
47
54
/// </summary>
48
55
[JsonPropertyName("code")]
56
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
49
57
publicstringCode{get;set;}
50
58
51
59
52
60
/// <summary>
53
61
/// A human-readable explanation specific to this occurrence of the error.
54
62
/// </summary>
55
63
[JsonPropertyName("description")]
64
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
56
65
publicstringDescription{get;set;}
57
66
67
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
58
68
publicErrorDetails(){}
69
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
59
70
publicErrorDetails(
60
71
stringcode,
61
72
stringdescription)
@@ -64,9 +75,11 @@ public ErrorDetails(
64
75
Description=description;
65
76
}
66
77
78
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
67
79
publicoverridestringToString()
68
80
=>JsonSerializer.Serialize(this);
69
81
82
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
Copy file name to clipboardExpand all lines: src/HttpContextExtensions.cs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
10
10
namespacePowerUtils.AspNetCore.ErrorHandler
11
11
{
12
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
@@ -26,6 +27,7 @@ public static class HttpContextExtensions
26
27
};
27
28
28
29
30
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
Copy file name to clipboardExpand all lines: src/IProblemHandler.cs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
usingSystem.Collections.Generic;
1
+
usingSystem;
2
+
usingSystem.Collections.Generic;
2
3
usingMicrosoft.AspNetCore.Mvc;
3
4
4
5
namespacePowerUtils.AspNetCore.ErrorHandler
5
6
{
7
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
Copy file name to clipboardExpand all lines: src/ProblemDetailsDefaults.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
-
usingSystem.Collections.Generic;
1
+
usingSystem;
2
+
usingSystem.Collections.Generic;
2
3
3
4
namespacePowerUtils.AspNetCore.ErrorHandler
4
5
{
6
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
5
7
publicstaticclassProblemDetailsDefaults
6
8
{
9
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
Copy file name to clipboardExpand all lines: src/PropertyNamingPolicy.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
-
namespacePowerUtils.AspNetCore.ErrorHandler
1
+
usingSystem;
2
+
3
+
namespacePowerUtils.AspNetCore.ErrorHandler
2
4
{
5
+
[Obsolete("This package has been discontinued because it never evolved, and the code present in this package does not justify its continuation. It is preferable to implement this code directly in the project if necessary.")]
0 commit comments