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.0.0-beta.0/src/errors/BrokenCircuitError.ts";

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

Constructors

new
BrokenCircuitError(message?: string)

Properties

readonly
isBrokenCircuitError: boolean