AsyncErrorCaptureConfig constructor

const AsyncErrorCaptureConfig({
  1. bool captureGlobalZoneErrors = true,
  2. bool captureIsolateErrors = false,
  3. bool captureUnhandledAsyncErrors = true,
  4. void customErrorHandler(
    1. Object error,
    2. StackTrace stackTrace
    )?,
  5. bool preventConflicts = true,
})

Implementation

const AsyncErrorCaptureConfig({
  this.captureGlobalZoneErrors = true,
  this.captureIsolateErrors = false,
  this.captureUnhandledAsyncErrors = true,
  this.customErrorHandler,
  this.preventConflicts = true,
});