// TODO return better error messages here. public static string GetError(uint status) { return(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? Windows.GetError(status) : Linux.GetError(status)); }
// TODO return better error messages here. public static string GetError(uint status) => OperatingSystem.IsWindows() ? Windows.GetError(status) : Linux.GetError(status);