Class RemoteServiceErrorInfo
Used to store information about an error.
Inheritance
System.Object
RemoteServiceErrorInfo
Namespace: Volo.Abp.Http
Assembly: Volo.Abp.Http.dll
Syntax
public class RemoteServiceErrorInfo : object
Constructors
RemoteServiceErrorInfo()
Creates a new instance of RemoteServiceErrorInfo.
Declaration
public RemoteServiceErrorInfo()
RemoteServiceErrorInfo(String, String, String)
Creates a new instance of RemoteServiceErrorInfo.
Declaration
public RemoteServiceErrorInfo(string message, string details = null, string code = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message |
System.String | details | Error details |
System.String | code | Error code |
Properties
Code
Error code.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Details
Error details.
Declaration
public string Details { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Message
Error message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationErrors
Validation errors if exists.
Declaration
public RemoteServiceValidationErrorInfo[] ValidationErrors { get; set; }
Property Value
Type | Description |
---|---|
RemoteServiceValidationErrorInfo[] |