Detail which exception is thrown by remove_volume

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2015-09-16 12:25:34 -07:00
parent acd5e634ff
commit ea9e13ff2b
1 changed files with 2 additions and 1 deletions

View File

@ -741,7 +741,8 @@ Remove a volume. Similar to the `docker volume rm` command.
* name (str): The volume's name
**Returns** (bool): True on successful removal. Failure will raise an exception.
**Returns** (bool): True on successful removal. Failure will raise a
`docker.errors.APIError` exception.
## rename