Classify resolved configuration mistakes as input errors
This commit is contained in:
@@ -30,7 +30,7 @@ func operationOutcome(err error) commandkit.Outcome {
|
||||
|
||||
func classifyOperationError(err error) commandkit.OutcomeKind {
|
||||
switch err.(type) {
|
||||
case *inputError, *config.ArtifactCatalogInputError:
|
||||
case *inputError, *config.ArtifactCatalogInputError, *config.DomainInputError:
|
||||
return commandkit.OutcomeUsage
|
||||
}
|
||||
switch wrapped := err.(type) {
|
||||
|
||||
Reference in New Issue
Block a user