You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/01/24 17:49:21 UTC

[GitHub] mrutkows opened a new issue #691: Create named UnspecifiedError for misc. errors

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:
users@infra.apache.org


With regards,
Apache Git Services