identicalErrorFrequencyTolerance property
The amount of time that is "acceptable" between consecutive identical errors thrown from a component within the tree wrapped by this ErrorBoundary.
If fallbackUIRenderer is not set, and more than one identical error is thrown consecutively by the exact same component anywhere within the tree wrapped by this ErrorBoundary -- more often than the specified duration -- the ErrorBoundary will:
- Call onComponentIsUnrecoverable.
- Stop attempting to re-mount the tree (to protect the main thread from being locked up).
- Render a static copy of the render tree's HTML that was captured at the time of the error.
When this happens, recovery can only occur by passing in a new child to the ErrorBoundary, or by calling ErrorBoundaryComponent.reset.
DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING.
Default:
const Duration(seconds: 5)
Implementation
Duration? identicalErrorFrequencyTolerance;