-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distinguish EjecaSpawnError from EjecaError
Summary: There's two error types from Ejeca: 1. a command spawns then exits non-zero 2. a command does not spawn (syscall to spawn fails) (1) is what we typically think of as an EjecaError, and contains most normal errors. (2) can happen with ENOENT if `sl` or other commands like `gh` are not on your PATH. The distinction is important for good error messages. Let's make them separate types to keep these separate. Reviewed By: quark-zju Differential Revision: D67995419 fbshipit-source-id: ee8df2d40929277280f564b36ac07e9a1a56c336
- Loading branch information
1 parent
7540058
commit 7b82043
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters