Class WorkRequestError
An error encountered while performing an operation that is tracked by this work request.
Inherited Members
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.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. For a list of error codes, see API Errors. |
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 message. |
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 that the error occurred, in the format defined by RFC 3339. |
Remarks
Required