Represents a failed query response.  
 More...
 | 
|   | QueryFailure (HttpStatusCode statusCode, JsonElement json) | 
|   | Initializes a new instance of the QueryFailure class, parsing the provided raw response text to extract error information.  
  | 
|   | 
 | 
| HttpStatusCode  | StatusCode [get] | 
|   | 
| string  | ErrorCode = "" [get] | 
|   | 
| string  | Message = "" [get] | 
|   | 
| object?  | ConstraintFailures [get] | 
|   | 
| object?  | Abort [get] | 
|   | 
| JsonElement  | RawJson [get] | 
|   | 
| long  | LastSeenTxn [get] | 
|   | Gets the last transaction seen by this query.  
  | 
|   | 
| long  | SchemaVersion [get] | 
|   | Gets the schema version.  
  | 
|   | 
| string  | Summary = "" [get] | 
|   | Gets a summary of the query execution.  
  | 
|   | 
| Dictionary< string, string >  | QueryTags = new() [get] | 
|   | Gets a dictionary of query tags, providing additional context about the query.  
  | 
|   | 
| QueryStats  | Stats [get] | 
|   | Gets the statistics related to the query execution.  
  | 
|   | 
Represents a failed query response. 
Definition at line 159 of file QueryResponse.cs.
 
◆ QueryFailure()
      
        
          | Fauna.QueryFailure.QueryFailure  | 
          ( | 
          HttpStatusCode  | 
          statusCode,  | 
        
        
           | 
           | 
          JsonElement  | 
          json  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Initializes a new instance of the QueryFailure class, parsing the provided raw response text to extract error information. 
- Parameters
 - 
  
    | statusCode | The HTTP status code. | 
    | json | The JSON response body. | 
  
   
Definition at line 172 of file QueryResponse.cs.
 
 
◆ Abort
  
  
      
        
          | object? Fauna.QueryFailure.Abort | 
         
       
   | 
  
get   | 
  
 
 
◆ ConstraintFailures
  
  
      
        
          | object? Fauna.QueryFailure.ConstraintFailures | 
         
       
   | 
  
get   | 
  
 
 
◆ ErrorCode
  
  
      
        
          | string Fauna.QueryFailure.ErrorCode = "" | 
         
       
   | 
  
get   | 
  
 
 
◆ Message
  
  
      
        
          | string Fauna.QueryFailure.Message = "" | 
         
       
   | 
  
get   | 
  
 
 
◆ StatusCode
  
  
      
        
          | HttpStatusCode Fauna.QueryFailure.StatusCode | 
         
       
   | 
  
get   | 
  
 
 
The documentation for this class was generated from the following file: