Class RestCircuitBrokenException
- Namespace
- DisCatSharp.Exceptions
- Assembly
- DisCatSharp.dll
Thrown when a REST request is rejected because the bucket's circuit breaker is open due to consecutive failures exceeding CircuitBreakerThreshold.
public sealed class RestCircuitBrokenException : DisCatSharpException, ISerializable
- Inheritance
-
RestCircuitBrokenException
- Implements
- Inherited Members
Properties
- BucketId
Gets the rate-limit bucket identifier.
- ConsecutiveFailures
Gets the number of consecutive failures that tripped the circuit.
- OpenSince
Gets when the circuit breaker was opened.
- Route
Gets the generic API route.