This repository was archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
CLI should have specific error codes for every error #1088
Copy link
Copy link
Closed
Labels
epicAn "epic" story that holds several related issuesAn "epic" story that holds several related issues
Description
Across spk we have inconsistent ways of handling exceptions. This epic proposes steps to normalize our approach to error handling and logging.
- Produce a guideline doc on that covers how we should handle exceptions in SPK Best practices for handling exceptions in SPK #1099
- Have a look up file that contains error codes and their mean
- commands: init Error codes, error chain for init command #1310
- error chain for
setupcommand - Have specific error codes and error chain for setup command #1294
- error chain for deployment create command Have specific error codes and error chain for deployment create command #1283
- error chain for deployment dashboard command Have specific error codes and error chain for deployment dashboard command #1288
- error chain for deployment get command - Have specific error codes and error chain for deployment get command #1316
- error chain for deployment onboard command - Have specific error codes and error chain for deployment onboard command #1321
- error chain for deployment validate command Have specific error codes and error chain for deployment validate command #1291
- error chain for hld add variable group command - Specific error code for hld add variable group command #1265
- error chain for hld init command - Have specific error codes and error chain for hld init command #1284
- error chain for hld reconcile command - Error codes and error chain for hld reconcile #1293
- error chain for hld install-manifest-pipeline command - Error codes and error chain for hld install-manifest-pipeline command #1323
- error chain for
infra scaffoldandinfra generatecommands Handle exception - first implementation CatalystCode/spk#446
- error chain for project install-pipeline command Better error message in spk project install-lifecycle-pipeline #1257
- error chain for project: create-variable-group, init commands Error codes, error chain for project commands #1307
- error chain for ring create, set-default, delete commands Error codes and error chain for spk ring: create, set default, delete #1297
- error chain for service create-revision commands Error codes, error chain for service create-revision command #1308
- error chain for service create commands Error codes, error chain for service create command #1339
- error chain for service install-build-pipeline commands Error codes, error chain for service install-build-pipeline command #1340
- error chain for variable-group: create, command commands Error codes, error chain for variable-group commands #1309
Related Issues
deployment getfails silently if storage access key is wrongdeployment getfails silently if storage access key is wrong #1124
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
epicAn "epic" story that holds several related issuesAn "epic" story that holds several related issues