Show / Hide Table of Contents

Class WorkRequestError

An error encountered while executing a work request.

Inheritance
object
WorkRequestError
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class WorkRequestError

Properties

Code

Declaration
[Required(ErrorMessage = "Code is required.")]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
Property Value
Type Description
string

A machine-usable code for the error that occurred. Error codes are listed on (https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The identifier of the work request error.

Remarks

Required

IsRetryable

Declaration
[JsonProperty(PropertyName = "isRetryable")]
public bool? IsRetryable { get; set; }
Property Value
Type Description
bool?

Determines if the work request error can be reproduced and tried again.

Message

Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type Description
string

A human-readable description of the issue that occurred.

Remarks

Required

Timestamp

Declaration
[Required(ErrorMessage = "Timestamp is required.")]
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type Description
DateTime?

The date and time the error occurred as described in RFC 3339. The precision for the time object is in milliseconds.

Remarks

Required

WorkRequestId

Declaration
[Required(ErrorMessage = "WorkRequestId is required.")]
[JsonProperty(PropertyName = "workRequestId")]
public string WorkRequestId { get; set; }
Property Value
Type Description
string

The OCID of the work request.

Remarks

Required

In this article
Back to top