Skip to content

Interface IBehaviorResilienceExceptionClassifier

Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll

Classifies behavior-execution exceptions for resilience handling.

public interface IBehaviorResilienceExceptionClassifier

This contract lets hosts or companion packs decide which failures should count toward circuit-breaker style failure accounting and which ones should stay outside resilience automation because they represent business or validation outcomes.

Classify(BehaviorResilienceExceptionContext)

Section titled “ Classify(BehaviorResilienceExceptionContext)”

Classifies one behavior-execution exception.

BehaviorResilienceExceptionHandling Classify(BehaviorResilienceExceptionContext context)

context BehaviorResilienceExceptionContext

The exception context being evaluated.

BehaviorResilienceExceptionHandling

The resilience-handling mode that should apply.