1using System.Text.Json.Serialization;
15 [JsonPropertyName(Error_CodeFieldName)]
16 public string?
Code {
get; init; }
21 [JsonPropertyName(Error_MessageFieldName)]
27 [JsonPropertyName(Error_ConstraintFailuresFieldName)]
33 [JsonPropertyName(Error_AbortFieldName)]
34 public object?
Abort {
get; init; }
A class representing a constraint failure from Fauna.
Contains detailed information about an error in a query response.
string? Message
The detailed message describing the cause of the error.
object? Abort
The information about an abort operation within a transaction.
string? Code
The error code when a query fails.
ConstraintFailure[] ConstraintFailures
The constraint failures that occurred during the query.