An error while trying to send a request to Azure service.
#include <exception.hpp>
◆ RequestFailedException() [1/5]
Azure::Core::RequestFailedException::RequestFailedException |
( |
std::string const & |
whatArg | ) |
|
|
inlineexplicit |
- Note
- An Exception without an HTTP raw response represents an exception that happened before sending the request to the server.
- Parameters
-
whatArg | The explanatory string. |
◆ RequestFailedException() [2/5]
Azure::Core::RequestFailedException::RequestFailedException |
( |
const std::string & |
message, |
|
|
std::unique_ptr< Azure::Core::Http::RawResponse > |
rawResponse |
|
) |
| |
|
explicit |
- Note
- The HTTP raw response is parsed to populate information expected from all Azure Services like the status code, reason phrase and some headers like the request ID. A concrete Service exception which derives from this exception uses its constructor to parse the HTTP raw response adding the service specific values to the exception.
- Parameters
-
message | The error description. |
rawResponse | The HTTP raw response from the service. |
◆ RequestFailedException() [3/5]
- Note
- The HTTP raw response is parsed to populate information expected from all Azure Services like the status code, reason phrase and some headers like the request ID. A concrete Service exception which derives from this exception uses its constructor to parse the HTTP raw response adding the service specific values to the exception.
- Parameters
-
rawResponse | The HTTP raw response from the service. |
◆ RequestFailedException() [4/5]
◆ RequestFailedException() [5/5]
- Parameters
-
other | The RequestFailedException to move in. |
◆ ~RequestFailedException()
Azure::Core::RequestFailedException::~RequestFailedException |
( |
| ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ClientRequestId
std::string Azure::Core::RequestFailedException::ClientRequestId |
◆ ErrorCode
std::string Azure::Core::RequestFailedException::ErrorCode |
◆ Message
std::string Azure::Core::RequestFailedException::Message |
- Note
- This string is purely for informational or diagnostic purposes, and should't be relied on at runtime.
◆ RawResponse
◆ ReasonPhrase
std::string Azure::Core::RequestFailedException::ReasonPhrase |
◆ RequestId
std::string Azure::Core::RequestFailedException::RequestId |
◆ StatusCode
The documentation for this class was generated from the following files: