Function
markComponentErrored
(
fiber: Fiber,
thrownValue: mixed,
lanes: Lanes,
)
Source from the content-addressed store, hash-verified
| 355 | } |
| 356 | |
| 357 | export function markComponentErrored( |
| 358 | fiber: Fiber, |
| 359 | thrownValue: mixed, |
| 360 | lanes: Lanes, |
| 361 | ): void { |
| 362 | if (enableSchedulingProfiler) { |
| 363 | if ( |
| 364 | injectedProfilingHooks !== null && |
| 365 | typeof injectedProfilingHooks.markComponentErrored === 'function' |
| 366 | ) { |
| 367 | injectedProfilingHooks.markComponentErrored(fiber, thrownValue, lanes); |
| 368 | } |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | export function markComponentSuspended( |
| 373 | fiber: Fiber, |
Tested by
no test coverage detected