closeFailures property

List<({Object error, StackTrace stackTrace})> get closeFailures

Every failure encountered while restoring process-wide runtime hooks.

close still throws the first failure for callers that only need a success/failure signal. The attempt boundary reads this list so later restoration errors are not silently discarded from attempt reporting.

Implementation

List<({Object error, StackTrace stackTrace})> get closeFailures =>
    List.unmodifiable(_closeFailures);