From d82be4c8c445c07265ceda43b61d3578507d8ef4 Mon Sep 17 00:00:00 2001 From: Dao Cong Tien Date: Wed, 11 Jul 2018 14:52:43 +0700 Subject: [PATCH] Invalid doc for Client exceptions There is no BaseException any more. Change-Id: I9bf4613fa27cfc6d62a466afe703d907e8aa737a --- doc/source/reference/api_v1.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/source/reference/api_v1.rst b/doc/source/reference/api_v1.rst index 45555b7..15e9426 100644 --- a/doc/source/reference/api_v1.rst +++ b/doc/source/reference/api_v1.rst @@ -71,8 +71,7 @@ Once you have an watcher `Client`_, you can perform various tasks:: >>> watcher.audit.get(audit_uuid_or_name) # information about a particular audit When the `Client`_ needs to propagate an exception, it will usually -raise an instance subclassed from -`watcherclient.exc.BaseException`_ or `watcherclient.exc.ClientException`_. +raise an instance listed in `watcherclient.exceptions`_. Refer to the modules themselves, for more details. @@ -84,5 +83,4 @@ watcherclient Modules .. _watcherclient.v1.client.Client: api/watcherclient.v1.client.html#watcherclient.v1.client.Client .. _Client: api/watcherclient.v1.client.html#watcherclient.v1.client.Client .. _watcherclient.client.get_client(): api/watcherclient.client.html#watcherclient.client.get_client -.. _watcherclient.exc.BaseException: api/watcherclient.exc.html#watcherclient.exc.BaseException -.. _watcherclient.exc.ClientException: api/watcherclient.exc.html#watcherclient.exc.ClientException +.. _watcherclient.exceptions: api/watcherclient.exceptions.html