Class ErrorDetail
Class ErrorDetail.
Inheritance
System.Object
ErrorDetail
Namespace: ISynergy.Framework.Core.Models
Assembly: ISynergy.Framework.Core.dll
Syntax
public class ErrorDetail : object
Constructors
View SourceErrorDetail()
Initializes a new instance of the ErrorDetail class.
Declaration
public ErrorDetail()
ErrorDetail(Int32, String, String)
Initializes a new instance of the ErrorDetail class.
Declaration
public ErrorDetail(int statusCode, string message, string type)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | statusCode | The status code. |
System.String | message | The message. |
System.String | type | The type. |
Properties
View SourceMessage
Gets or sets the message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String | The message. |
StatusCode
Gets or sets the status code.
Declaration
public int StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The status code. |
Type
Gets or sets the type.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type. |
Methods
View SourceToString()
Returns a
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A |