Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
Fauna.Exceptions.UnauthorizedException Class Reference

Represents an exception thrown when there is an authorization error in Fauna. Corresponds to the 'unauthorized' error code in Fauna. More...

Inheritance diagram for Fauna.Exceptions.UnauthorizedException:
Fauna.Exceptions.ServiceException Fauna.Exceptions.FaunaException

Public Member Functions

 UnauthorizedException (string message, QueryFailure failure)
 
- 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 ()
 
 FaunaException (string message)
 
 FaunaException (string message, Exception innerException)
 

Additional Inherited Members

- Properties inherited from Fauna.Exceptions.ServiceException
HttpStatusCode? StatusCode [get, set]
 The HTTP status code.
 
string? ErrorCode [get]
 The error code when a query fails.
 
string? Summary [get]
 A comprehensive, human readable summary of any errors, warnings and/or logs returned from the query.
 
QueryStats Stats [get]
 The query stats for the request.
 
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.
 
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.
 
IDictionary< string, string > QueryTags [get]
 The tags on the x-query-tags header, if it was provided.
 

Detailed Description

Represents an exception thrown when there is an authorization error in Fauna. Corresponds to the 'unauthorized' error code in Fauna.

Definition at line 174 of file ServiceException.cs.

Constructor & Destructor Documentation

◆ UnauthorizedException()

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

Definition at line 176 of file ServiceException.cs.


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