nn::http::Connection::GetError Member Functionnn::Result GetError( ResultCode * pResultCodeBuf ) const;
| Name | Description | |
|---|---|---|
| out | pResultCodeBuf | Buffer for storing errors. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultConnectionCanceledErr |
Error indicating that the connection was canceled. Nothing specified for pResultCodeBuf. To reconnect, first call the Connection object's Finalize function, and then call Initialize again. |
ResultNotConnectedErr |
Error indicating that no target URL was assigned to the Connection object. No action is performed because the Connection object has not been initialized by a successful call of Initialize. |
ResultNotInitializedErr |
Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize. |
| A value other than the above. | Unexpected error (See http_Result.h for details). |
Gets errors that occurred during communication. (The value that is obtained indicates the last error that occurred. See the definitions in nn::http::ResultCode for information about the statuses that can be obtained.)
CONFIDENTIAL