OnErrorMiddleware typedef

void OnErrorMiddleware (
  1. Request request,
  2. Response response,
  3. Exception exception
)

Implementation

typedef OnErrorMiddleware = void Function(
    Request request, Response response, Exception exception);