Add custom Devfile::CliError for expected errors
Issue: Devfile Gem: Handle devfile gem validation erro... (gitlab-org/gitlab#419477 - closed)
What does this MR do and why?
NOTE: This MR is rebased on https://gitlab.com/gitlab-org/remote-development/devfile-gem/-/merge_requests/41+, so that should be merged first
Adds custom exception for errors raised due to CLI invocation returning a nonzero return code.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Chad Woolley