Revision fa7a3ca1 astakosclient/docs/index.rst
b/astakosclient/docs/index.rst | ||
---|---|---|
1 |
.. _snf-astakos-client:
|
|
1 |
.. _astakosclient:
|
|
2 | 2 |
|
3 |
Component snf-astakos-client
|
|
3 |
Component astakosclient
|
|
4 | 4 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
5 | 5 |
|
6 |
The Synnefo component :ref:`snf-astakos-client <snf-astakos-client>` defines a
|
|
6 |
The Synnefo component :ref:`astakosclient <astakosclient>` defines a
|
|
7 | 7 |
default client for the :ref:`Astakos <astakos>` service. It is designed to be |
8 | 8 |
simple and minimal, hence easy to debug and test. |
9 | 9 |
|
... | ... | |
184 | 184 |
|
185 | 185 |
*exception* **AstakosClientException** |
186 | 186 |
Raised in case of an error. It contains an error message and the |
187 |
corresponding http status code. Other exceptions raise by astakosclient |
|
188 |
module are derived from this one. |
|
187 |
corresponding http status code. Other exceptions raised by |
|
188 |
astakosclient module are derived from this one. |
|
189 |
|
|
190 |
*exception* **BadValue** |
|
191 |
A redefinition of ValueError exception under AstakosClientException. |
|
192 |
|
|
193 |
*exception* **InvalidResponse** |
|
194 |
This exception is raised whenever the server's response is not |
|
195 |
valid json (cannot be parsed by simplejson library). |
|
189 | 196 |
|
190 | 197 |
*exception* **BadRequest** |
191 | 198 |
Raised in case of a Bad Request, with status 400. |
... | ... | |
200 | 207 |
*exception* **NotFound** |
201 | 208 |
The server has not found anything matching the Request-URI. Status 404. |
202 | 209 |
|
210 |
*exception* **QuotaLimit** |
|
211 |
Quantity fell below zero or exceeded capacity in one of the holdings. |
|
212 |
|
|
203 | 213 |
*exception* **NoUserName** |
204 | 214 |
Raised by getDisplayName and getServiceDisplayName when an invalid |
205 | 215 |
UUID was given. |
Also available in: Unified diff