summaryrefslogtreecommitdiffstats
path: root/storage/maria/libmarias3/docs/api/errors.rst
blob: 80c84372f4fad9c4d97665e3e9a3f52f5c4d9ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Error Codes
===========

+------------------------+------------------------------------------------------+
| Code                   | Details                                              |
+========================+======================================================+
| MS3_ERR_NONE           | Success (always equal to ``0``)                      |
+------------------------+------------------------------------------------------+
| MS3_ERR_PARAMETER      | A required function parameter is missing             |
+------------------------+------------------------------------------------------+
| MS3_ERR_NO_DATA        | No data is supplied to a function that requires data |
+------------------------+------------------------------------------------------+
| MS3_ERR_URI_TOO_LONG   | The generated URI for the request is too long        |
+------------------------+------------------------------------------------------+
| MS3_ERR_RESPONSE_PARSE | The API could not parse the response from S3         |
+------------------------+------------------------------------------------------+
| MS3_ERR_REQUEST_ERROR  | The API could not send the request to S3             |
+------------------------+------------------------------------------------------+
| MS3_ERR_OOM            | Could not allocate required memory                   |
+------------------------+------------------------------------------------------+
| MS3_ERR_IMPOSSIBLE     | A theortically impossible condition occurred         |
+------------------------+------------------------------------------------------+
| MS3_ERR_AUTH           | Authentication failed                                |
+------------------------+------------------------------------------------------+
| MS3_ERR_NOT_FOUND      | Object not found                                     |
+------------------------+------------------------------------------------------+
| MS3_ERR_SERVER         | Unknown error code in S3 response                    |
+------------------------+------------------------------------------------------+
| MS3_ERR_TOO_BIG        | PUT data is too large, 4GB maximum                   |
+------------------------+------------------------------------------------------+