SSS - S3 Toolkit 0.9.6
S3 client library and applications
Loading...
Searching...
No Matches
ErrorHandling

Error handling. More...

Functions

void sss::HandleError (const WebClient &wc, const std::string &prefix="")
 handle errors when sending request receiving an 400 response
 

Detailed Description

Error handling.

Function Documentation

◆ HandleError()

void sss::HandleError ( const WebClient wc,
const std::string &  prefix = "" 
)

handle errors when sending request receiving an 400 response

Exceptions
std::runtime_errorif request not sent
std::logic_errorif return code >= 400
Parameters
wcreference to WebClient instance
prefixstring to pre-pend to error message
+ Here is the caller graph for this function: