Class QueryErrorCause
The "cause" object returned by the query service inside a transaction-related error
(e.g. a CAS mismatch at COMMIT). Carries the protocol hints the transactions layer needs
to decide whether to retry/rollback and which final error to raise.
Inheritance
QueryErrorCause
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Volatile)]
public class QueryErrorCause
Constructors
View Source
QueryErrorCause(object?, bool?, bool?, string?)
Declaration
public QueryErrorCause(object? cause, bool? rollback, bool? retry, string? raise)
Parameters
Properties
View Source
cause
Declaration
[JsonProperty("cause")]
[JsonPropertyName("cause")]
public object? cause { get; }
Property Value
View Source
raise
Declaration
[JsonProperty("raise")]
[JsonPropertyName("raise")]
public string? raise { get; }
Property Value
View Source
retry
Declaration
[JsonProperty("retry")]
[JsonPropertyName("retry")]
public bool? retry { get; }
Property Value
View Source
rollback
Declaration
[JsonProperty("rollback")]
[JsonPropertyName("rollback")]
public bool? rollback { get; }
Property Value