Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/cockatiel@v3.1.1/src/errors/BrokenCircuitError.ts";

Constructors

new
BrokenCircuitError(message?)

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

Properties

readonly
isBrokenCircuitError: boolean