|
| | ProxyAuthenticationError (const std::string &sanitizedUrl, const std::string &requestId, int32_t statusCode, const std::string &message, const std::string &name="ProxyAuthenticationError") |
| |
| | ProxyAuthenticationError (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="ProxyAuthenticationError") |
| |
| std::shared_ptr< Error > | Clone () const override |
| | Clone the error.
|
| |
| ErrorType | GetErrorType () const override |
| | Get the error type.
|
| |
| | 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") |
| |
| 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.
|
| |
| 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 () |
| |
|
| enum class | Category {
Unknown = 0
, FailureResponseCode = 1
, BadResponse = 2
, UnexpectedResponse = 3
,
NoConnection = 4
, Proxy = 5
, SSL = 6
, Timeout = 7
,
Offline = 8
, Throttled = 9
, Cancelled = 10
, FunctionNotImplemented = 11
,
ServiceUnavailable = 12
} |
| | Category of network error. More...
|
| |
| | Error (const std::string &message, const std::string &name, ErrorType type) |
| |
| | Error (const std::string &message, const std::map< std::string, std::string > debugInfo, const std::map< std::string, std::string > sensitiveDebugInfo, const std::string &name, ErrorType type) |
| |
| std::string | mMessage |
| |
| std::map< std::string, std::string > | mDebugInfo |
| |
| std::string | mName |
| |
| ErrorType | mType |
| |
Proxy authentication failure.