Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 50d37d9

Browse files
committed
Aggiunta classe ErrorResult
1 parent 4b9ca80 commit 50d37d9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace NET6CustomLibrary.Errors;
2+
3+
public class ErrorResult
4+
{
5+
public string TitleCode { get; set; }
6+
public HttpStatusCode StatusCode { get; set; }
7+
public int TypeCode { get; set; } = 0;
8+
public string InstancePath { get; set; }
9+
public List<string> Message { get; set; }
10+
}

src/NET6CustomLibrary/GlobalUsings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
global using System.ComponentModel;
44
global using System.Globalization;
55
global using System.Linq;
6+
global using System.Net;
67
global using System.Net.Mime;
78
global using System.Text;
89
global using System.Text.Json;

0 commit comments

Comments
 (0)