bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
exception static functions to read error information from remote response More...
#include <GatewayError.h>
Static Public Member Functions | |
static void | read_error (const std::string &filename, std::string &err, const std::string &url) |
read the target response file that contains textual error information | |
exception static functions to read error information from remote response
Two static methods are provided that can read the target response file if an error occurred.
Definition at line 43 of file GatewayError.h.
|
static |
read the target response file that contains textual error information
The contents of the file are read directly into the error message.
filename | target response file name with the error information |
err | return the error message in this variable |
url | the remote request URL |
Definition at line 47 of file GatewayError.cc.