CaughtMiddlewareHandler<T> typedef

CaughtMiddlewareHandler<T> = dynamic Function(T context, Exception error)

Handler for catching errors in middleware chains

Implementation

typedef CaughtMiddlewareHandler<T> = dynamic Function(
  T context,
  Exception error,
);