Class WorkRequestError
An object returned in the event of a work request error.
Inherited Members
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class WorkRequestError
Properties
ErrorCode
Declaration
[Required(ErrorMessage = "ErrorCode is required.")]
[JsonProperty(PropertyName = "errorCode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestError.ErrorCodeEnum? ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
WorkRequestError.ErrorCodeEnum? |
Remarks
Required
Message
Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable error string. |
Remarks
Required