Open sandboxFocus

Interface IExceptionHandlingPolicy

Determines how exceptions should be handled in CachingBackend.

Namespace: Metalama.Patterns.Caching.Resilience
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public interface IExceptionHandlingPolicy

Methods

Name Description
OnExceptionAsync(ExceptionInfo, CancellationToken)

Method invoked when an exception is thrown by the CachingBackend implementation. It should return a RecoveryAction.

Extension Methods