Class InternalErrorResponse
the dto used to send an error response to the client when an unhandled exception occurs on the server
Inheritance
System.Object
InternalErrorResponse
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public class InternalErrorResponse
Properties
Code
http status code of the error response
Declaration
public int Code { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Note
additional information or instructions
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Reason
the reason for the error
Declaration
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
error status
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |