mrutkows opened a new issue #691: Create named UnspecifiedError for misc. 
errors 
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/691
 
 
   Use for error cases that are not typical occurrences.  This will allow 
consistent formatting of all wskdeploy errors and avoid in-line error strings 
where possible.
   
   This would be used wherever we use the generic constructor:
   ```
   errors.New()
   ```
   
   Such as in filesystemreader. go:
   ```
   return "", nil, errors.New("Unsupported action type.")
   
   return errors.New("Conflict detected for action named " + 
existAction.Action.Name + ". Found two locations for source file: " + 
existAction.Filepath + " and " + fileAction.Filepath)
   ```
   

----------------------------------------------------------------
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