-
Story
-
Resolution: Done
-
Major
-
None
-
None
It is required to define when the oc-mirror exits with 0 or non 0 exit code. In order to do that it is required to define custom errors so it is possible to treat them in a different way on the top of the stack.
For example: if the error is a release error, return a non 0 exit code, if the error is an operator error returns a 0 exit code.
Also it is important to create a flag in case the customer wants to always ignore the custom errors and have a 0 exit error.
- documents
-
CLID-132 As a developer I want to create custom errors on oc-mirror
- Closed
- links to