summaryrefslogtreecommitdiff
path: root/doc/source/command-errors.rst
Commit message (Collapse)AuthorAgeFilesLines
* Trivial: Fix coding style in examples in docTang Chen2016-06-131-10/+14
| | | | | | | | Now, we use i18n strings for help and log messages, and standardize the usage of logger. So fix those in the example in doc. Change-Id: Ibbc051b12133699811dd35a7e77a10de50ed8e44
* Enhance exception handling for "network delete" commandTang Chen2016-04-141-2/+40
| | | | | | | | | | | | | This patch rework "network delete" command following the rules in doc/source/command-errors.rst. In "network delete" command, there are multiple REST API calls, and we should make as many of them as possible. And log error for each one, give a better error message. Also return a non-zero exit code. Change-Id: I39ae087dd7bd08d049d513abfa6c5cab2bd13b2b Partial-Bug: #1556719
* Add doc describing how to handle API errorsDean Troyer2016-03-111-0/+163
Include the following scenarios: * general external errors * a command with multiple API calls Change-Id: Ie5c4b775e11898bacf2156a34457f5397fd2c891