appBusyCause function

RuntimeUnresponsiveError? appBusyCause(
  1. Object e
)

The VM timeout behind e when the VM did not answer in time (busy or blocked), else null.

Implementation

RuntimeUnresponsiveError? appBusyCause(Object e) => switch (e) {
      RuntimeUnresponsiveError() => e,
      InspectorReadError(:final cause) when cause is RuntimeUnresponsiveError => cause,
      _ => null,
    };