bool isKnownScreenshotCaptureFailure(Object? error) => classifyScreenshotCaptureFailure(error) != ScreenshotCaptureFailureKind.other;