Interface IErrorHandler

Assembly: redb.Route.dll

Last-resort error handler invoked when no local or global exception handler matches.
Implement to define application-wide fallback error handling (e.g., dead-letter, alerting).

public interface IErrorHandler

Methods

HandleError(IExchange, Exception, CancellationToken)

Handles an exception that was not caught by any registered exception handler.

Task HandleError(IExchange exchange, Exception exception, CancellationToken ct = default)