Module

x/cockatiel/src/errors/BrokenCircuitError.ts>BrokenCircuitError

🐦 A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback. Inspired by .NET Polly.
Go to Latest
class BrokenCircuitError
extends Error
import { BrokenCircuitError } from "https://dotland.deno.dev/x/cockatiel@v3.1.3/src/errors/BrokenCircuitError.ts";

Constructors

new
BrokenCircuitError(message?)

Exception thrown from {@link CircuitBreakerPolicy.execute} when the circuit breaker is open.

Properties

readonly
isBrokenCircuitError: boolean