All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.finaglecircuit.CircuitBroken.scala Maven / Gradle / Ivy

package io.github.finaglecircuit

/**
 * The exception thrown from the circuit breaker when the circuit is open.
 * @param circuitName the name
 * @param reason detail about why this exception was raised
 */
case class CircuitBroken(circuitName: CircuitName, reason: String) extends Exception(s"$circuitName circuit marked as $reason")




© 2015 - 2025 Weber Informatics LLC | Privacy Policy