ErrorHandlingMiddleware constructor

ErrorHandlingMiddleware({
  1. void onError(
    1. dynamic job,
    2. dynamic error,
    3. StackTrace stack
    )?,
  2. bool rethrowErrors = true,
})

Implementation

ErrorHandlingMiddleware({
  this.onError,
  this.rethrowErrors = true,
});