Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
ThrottlingException.cs
Go to the documentation of this file.
1using System.Net;
2using Fauna.Core;
3
4namespace Fauna.Exceptions;
5
11{
12
17 public ThrottlingException(string message) : base(message)
18 {
19 StatusCode = HttpStatusCode.TooManyRequests;
20 }
21
27 public ThrottlingException(string message, QueryFailure failure) : base(message, failure)
28 {
29 }
30}
Represents a failed query response.
Represents an exception related to Fauna service errors, particularly for query failures.
HttpStatusCode? StatusCode
The HTTP status code.
Represents an exception that indicates some capacity limit was exceeded and thus the request could no...
ThrottlingException(string message, QueryFailure failure)
Initializes a new instance of the ThrottlingException class with a specified error message and query ...
ThrottlingException(string message)
Initializes a new instance of the ThrottlingException class with a specified error message.
Represents an interface for exceptions that are potentially recoverable through retrying the failed o...