CatcherOptions constructor
CatcherOptions(
- ReportMode reportMode,
- List<
ReportHandler> handlers, { - int handlerTimeout = 5000,
- Map<
String, dynamic> customParameters = const <String, dynamic>{}, - List<
LocalizationOptions> localizationOptions = const [], - Map<
String, ReportMode> explicitExceptionReportModesMap = const {}, - Map<
String, ReportHandler> explicitExceptionHandlersMap = const {}, - bool handleSilentError = true,
- String screenshotsPath = '',
- List<
String> excludedParameters = const [], - bool filterFunction(
- Report report
- int reportOccurrenceTimeout = 3000,
- CatcherLogger? logger,
Builds catcher options instance
Implementation
CatcherOptions(
this.reportMode,
this.handlers, {
this.handlerTimeout = 5000,
this.customParameters = const <String, dynamic>{},
this.localizationOptions = const [],
this.explicitExceptionReportModesMap = const {},
this.explicitExceptionHandlersMap = const {},
this.handleSilentError = true,
this.screenshotsPath = '',
this.excludedParameters = const [],
this.filterFunction,
this.reportOccurrenceTimeout = 3000,
this.logger,
});