SSS - S3 Toolkit 0.9.6
S3 client library and applications
|
Error handling. More...
Functions | |
void | sss::HandleError (const WebClient &wc, const std::string &prefix="") |
handle errors when sending request receiving an 400 response | |
Error handling.
void sss::HandleError | ( | const WebClient & | wc, |
const std::string & | prefix = "" |
||
) |
handle errors when sending request receiving an 400
response
std::runtime_error | if request not sent |
std::logic_error | if return code >= 400 |
wc | reference to WebClient instance |
prefix | string to pre-pend to error message |