initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace ASPNET.BackEnd.Common.Models;
|
||||
|
||||
public class Error
|
||||
{
|
||||
public Error(
|
||||
string? innerException,
|
||||
string? source,
|
||||
string? stackTrace,
|
||||
string? exceptionType)
|
||||
{
|
||||
Ref = "https://datatracker.ietf.org/doc/html/rfc9110";
|
||||
InnerException = innerException;
|
||||
Source = source?.Trim();
|
||||
StackTrace = stackTrace?.Trim();
|
||||
ExceptionType = exceptionType;
|
||||
}
|
||||
public string Ref { get; set; }
|
||||
public string? ExceptionType { get; init; }
|
||||
public string? InnerException { get; init; }
|
||||
public string? Source { get; init; }
|
||||
public string? StackTrace { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user