jthomas opened a new issue #111: Improve error message when resource name 
clashes.
URL: https://github.com/apache/incubator-openwhisk-cli/issues/111
 
 
   Action, trigger and rule names must be unique within a namespace and 
package. It could be confusing to a developer that you cannot create an action 
with a name, if a trigger or rule already exists with them identifier. 
   
   Here's the error message that gets returned if you try to do this....
   
   ```
   error: Unable to create action 'hello': Resource by this name exists but is 
not in this collection. (code 5000008)
   Run 'wsk --help' for usage.
   ```
   
   It would be helpful if the CLI could return the resource details ("Trigger 
with name ... already exists") to help users understand this issue.
   
   Alternatively, a more helpful error message ("Actions, rules and triggers 
share the same namespace, check for those resources with that name."). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to