ReductError
Bases: Exception
General exception for all HTTP errors
Source code in reduct/error.py
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 31 |
|
message
property
¶
Return error message
status_code
property
¶
Return HTTP status code
from_header(header)
staticmethod
¶
Create ReductError from HTTP header with status code and message (batched write )
Source code in reduct/error.py
12 13 14 15 16 17 18 |
|