Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

🐦 A resilience and fault-handling library. Supports Backoffs, Retries, Circuit Breakers, Timeouts, Bulkhead Isolation, and Fallbacks.
Latest
class BrokenCircuitError
extends Error
import { BrokenCircuitError } from "https://deno.land/x/cockatiel@v3.2.1/src/errors/BrokenCircuitError.ts";

Constructors

new
BrokenCircuitError(message?)

Exception thrown from CircuitBreakerPolicy.execute when the circuit breaker is open.

Properties

readonly
isBrokenCircuitError: boolean