Represents an exception that occurs when the FQL abort
function is called. This exception captures the data provided during the abort operation.
More...
|
| AbortException (string message, QueryFailure failure, MappingContext ctx) |
| Initializes a new instance of the AbortException class with a specified error message and query failure details.
|
|
object? | GetData () |
| Retrieves the deserialized data associated with the abort operation as an object.
|
|
T? | GetData< T > () |
| Retrieves the deserialized data associated with the abort operation as a specific type.
|
|
T? | GetData< T > (ISerializer< T > serializer) |
| Retrieves the deserialized data associated with the abort operation as a specific type.
|
|
| ServiceException (string message) |
| Initializes a new instance of the ServiceException class with a specified query failure details and error message.
|
|
| ServiceException (string message, QueryFailure failure) |
| Initializes a new instance of the ServiceException class with a specified query failure details and error message.
|
|
| FaunaException (string message) |
| Initializes a FaunaException with a message.
|
|
| FaunaException (string message, Exception innerException) |
| Initializes a FaunaException with a message and inner exception.
|
|
| FaunaException (ErrorInfo err) |
| Initializes a FaunaException from an ErrorInfo instance.
|
|
|
string? | ErrorCode [get] |
| The error code when a query fails.
|
|
IDictionary< string, string > | QueryTags [get] |
| The tags on the x-query-tags header, if it was provided.
|
|
long? | SchemaVersion [get] |
| The schema version used by the query. This can be used by clients displaying schema to determine when they should refresh their schema. If the schema version that a client has stored differs from the one returned by the query, schema should be refreshed.
|
|
QueryStats | Stats [get] |
| The query stats for the request.
|
|
HttpStatusCode? | StatusCode [get, set] |
| The HTTP status code.
|
|
string? | Summary [get] |
| A comprehensive, human readable summary of any errors, warnings and/or logs returned from the query.
|
|
long? | TxnTs [get] |
| The transaction commit time in micros since epoch. Used by drivers to populate the x-last-txn-ts request header in order to get a consistent prefix RYOW guarantee.
|
|
Represents an exception that occurs when the FQL abort
function is called. This exception captures the data provided during the abort operation.
Definition at line 11 of file AbortException.cs.
◆ AbortException()
Initializes a new instance of the AbortException class with a specified error message and query failure details.
- Parameters
-
message | The error message that explains the reason for the exception. |
failure | A QueryFailure |
ctx | A mapping context. |
Definition at line 24 of file AbortException.cs.
◆ GetData()
object? Fauna.Exceptions.AbortException.GetData |
( |
| ) |
|
Retrieves the deserialized data associated with the abort operation as an object.
- Returns
- The deserialized data as an object, or null if no data is available.
◆ GetData< T >() [1/2]
Retrieves the deserialized data associated with the abort operation as a specific type.
- Template Parameters
-
T | The type to which the data should be deserialized. |
- Returns
- The deserialized data as the specified type, or null if no data is available.
- Type Constraints
-
T | : | notnull | |
T | : | GetData | |
T | : | Serializer.Generate<T> | |
T | : | _ctx | |
◆ GetData< T >() [2/2]
Retrieves the deserialized data associated with the abort operation as a specific type.
- Template Parameters
-
T | The type to which the data should be deserialized. |
- Parameters
-
serializer | A serializer for the abort data. |
- Returns
- The deserialized data as the specified type, or null if no data is available.
Definition at line 50 of file AbortException.cs.
The documentation for this class was generated from the following file: