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.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.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 short error code that defines the error, meant for programmatic parsing.

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

Timestamp

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

The date and time when the error happened. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Remarks

Required

In this article
Back to top