|
xrootd
|
Request status. More...
#include <XrdClXRootDResponses.hh>


Public Member Functions | |
| XRootDStatus (uint16_t st=0, uint16_t code=0, uint32_t errN=0, const std::string &message="") | |
| Constructor. More... | |
| XRootDStatus (const Status &st, const std::string &message="") | |
| Constructor. More... | |
| const std::string & | GetErrorMessage () const |
| Get error message. More... | |
| void | SetErrorMessage (const std::string &message) |
| Set the error message. More... | |
| std::string | ToStr () const |
| Convert to string. More... | |
Public Member Functions inherited from XrdCl::Status | |
| Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) | |
| Constructor. More... | |
| bool | IsError () const |
| Error. More... | |
| bool | IsFatal () const |
| Fatal error. More... | |
| bool | IsOK () const |
| We're fine. More... | |
| int | GetShellCode () const |
| Get the status code that may be returned to the shell. More... | |
| std::string | ToString () const |
| Create a string representation. More... | |
Private Attributes | |
| std::string | pMessage |
Additional Inherited Members | |
Static Public Member Functions inherited from XrdCl::Status | |
| static bool | IsSocketError (uint16_t code) |
Public Attributes inherited from XrdCl::Status | |
| uint16_t | status |
| Status of the execution. More... | |
| uint16_t | code |
| Error type, or additional hints on what to do. More... | |
| uint32_t | errNo |
| Errno, if any. More... | |
Request status.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Get error message.
References pMessage.
Referenced by XrdCl::ClassicCopyJob::DestinationError(), and XrdCl::ClassicCopyJob::SourceError().
|
inline |
Set the error message.
References pMessage.
Referenced by XrdCl::ClassicCopyJob::DestinationError(), and XrdCl::ClassicCopyJob::SourceError().
|
inline |
Convert to string.
References XrdCl::Status::code, XrdCl::errErrorResponse, XrdCl::Status::errNo, pMessage, and XrdCl::Status::ToString().
|
private |
Referenced by GetErrorMessage(), SetErrorMessage(), and ToStr().
1.8.5