Skip to content

Add custom Devfile::CliError for expected errors

Chad Woolley requested to merge caw-raise-custom-exception-for-cli-failure into main

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.

Edited by Chad Woolley

Merge request reports

Loading