[codex] Structure VCS process boundary errors (#3476)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
cebbe6ff19
commit
3c246f56b4
4 files changed
+151
-66
No files matched your search
@@ -133,7 +133,10 @@ export class GitLabCliCommandError extends Schema.TaggedErrorClass<GitLabCliComm
|
||||
}
|
||||
},
|
||||
VcsProcessTimeoutError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsOutputDecodeError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsProcessStdinWriteError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsProcessOutputReadError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsProcessOutputLimitError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsProcessMissingExitCodeError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsRepositoryDetectionError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
VcsUnsupportedOperationError: (cause) => new GitLabCliCommandError({ ...context, cause }),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user