Networking error. Caused by unexpected behavior when making network calls to service endpoints.
More...
|
| | NetworkError (Category category, const std::string &sanitizedUrl, const std::string &requestId, int32_t statusCode, const std::string &message, const std::string &name="NetworkError") |
| |
| | NetworkError (Category category, const std::string &sanitizedUrl, const std::string &requestId, int32_t statusCode, const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="NetworkError") |
| |
| | NetworkError (Category category, int32_t statusCode, const std::string &message, const std::map< std::string, std::string > &debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name="NetworkError") |
| |
| std::shared_ptr< Error > | Clone () const override |
| | Clone the error.
|
| |
| Category | GetCategory () const |
| | Gets the category of network failure.
|
| |
| int32_t | GetResponseStatusCode () const |
| | Gets the HTTP response status code.
|
| |
| char const * | what () const noexcept override |
| | Get the error message.
|
| |
| virtual ErrorType | GetErrorType () const |
| | Get the error type.
|
| |
| const std::string & | GetErrorName () const |
| | Get the error name.
|
| |
| const std::string & | GetMessage (bool maskPII=false) const |
| | Get the error message.
|
| |
| void | SetMessage (const std::string &msg) |
| | Set the error message.
|
| |
| void | AddDebugInfo (const std::string &key, const std::string &value, bool sensitive=false) |
| | Add debug info entry.
|
| |
| const std::map< std::string, std::string > & | GetDebugInfo () const |
| | Get debug info.
|
| |
| virtual | ~Error () |
| |
Networking error. Caused by unexpected behavior when making network calls to service endpoints.