Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Fauna.Exceptions.ThrottlingException Class Reference

Represents an exception that indicates some capacity limit was exceeded and thus the request could not be served. This exception is considered retryable after a suitable delay. More...

Inheritance diagram for Fauna.Exceptions.ThrottlingException:
Fauna.Exceptions.ServiceException Fauna.Exceptions.IRetryableException Fauna.Exceptions.FaunaException

Public Member Functions

 ThrottlingException (string message)
 Initializes a new instance of the ThrottlingException class with a specified error message.
 
 ThrottlingException (string message, QueryFailure failure)
 Initializes a new instance of the ThrottlingException class with a specified error message and query failure details.
 
- Public Member Functions inherited from Fauna.Exceptions.ServiceException
 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.
 
- Public Member Functions inherited from Fauna.Exceptions.FaunaException
 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.
 

Additional Inherited Members

- Properties inherited from Fauna.Exceptions.ServiceException
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.
 

Detailed Description

Represents an exception that indicates some capacity limit was exceeded and thus the request could not be served. This exception is considered retryable after a suitable delay.

Definition at line 10 of file ThrottlingException.cs.

Constructor & Destructor Documentation

◆ ThrottlingException() [1/2]

Fauna.Exceptions.ThrottlingException.ThrottlingException ( string  message)

Initializes a new instance of the ThrottlingException class with a specified error message.

Parameters
messageThe error message that explains the reason for the exception.

Definition at line 17 of file ThrottlingException.cs.

◆ ThrottlingException() [2/2]

Fauna.Exceptions.ThrottlingException.ThrottlingException ( string  message,
QueryFailure  failure 
)

Initializes a new instance of the ThrottlingException class with a specified error message and query failure details.

Parameters
messageThe error message that explains the reason for the exception.
failureA QueryFailure.

Definition at line 27 of file ThrottlingException.cs.


The documentation for this class was generated from the following file: