Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
ErrorInfo.cs
Go to the documentation of this file.
1using System.Text.Json.Serialization;
3
4namespace Fauna;
5
9public readonly struct ErrorInfo
10{
14 [JsonPropertyName(Error_CodeFieldName)]
15 public string? Code { get; init; }
16
20 [JsonPropertyName(Error_MessageFieldName)]
21 public string? Message { get; init; }
22
26 [JsonPropertyName(Error_ConstraintFailuresFieldName)]
27 public object? ConstraintFailures { get; init; }
28
32 [JsonPropertyName(Error_AbortFieldName)]
33 public object? Abort { get; init; }
34}
Definition Client.cs:8
Contains detailed information about an error in a query response.
Definition ErrorInfo.cs:10
object? Abort
The information about an abort operation within a transaction.
Definition ErrorInfo.cs:33
object? ConstraintFailures
The constraint failures that occurred during the query.
Definition ErrorInfo.cs:27
string? Message
The detailed message describing the cause of the error.
Definition ErrorInfo.cs:21
string? Code
The error code when a query fails.
Definition ErrorInfo.cs:15