appBusyCause function
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,
};