mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
![Toshihito Kikuchi](/assets/img/avatar_default.png)
`WindowsErrorResult` is a class to hold either a value or a Windows error code based on the `Result` template. We also have `LauncherResult` for the same purpose, which was introduced as a part of the launcher process feature afterward. The difference is `LauncherResult` holds a filename and line number along with an error code. This patch integrates LauncherResult.h into WinHeaderOnlyUtils.h so that we can use `LauncherResult` more broadly. Differential Revision: https://phabricator.services.mozilla.com/D44512 --HG-- extra : moz-landing-system : lando