ErrorHandler<T extends Error> constructor

const ErrorHandler<T extends Error>(
  1. HandleError<T> _call, {
  2. bool report = false,
  3. bool shouldRethrow = false,
})

a simple constructor

Implementation

const ErrorHandler(
  this._call, {
  this.report = false,
  this.shouldRethrow = false,
});