* @brief Returns a description of the error that occurred in the last call. *************************************************************/
| 52 | * @brief Returns a description of the error that occurred in the last call. |
| 53 | *************************************************************/ |
| 54 | char const* ClientErrors::GetLastErrorDescription() |
| 55 | { |
| 56 | if (m_LastErrorDetail.empty()) |
| 57 | { |
| 58 | return Error::GetErrorDescription(m_LastError) ; |
| 59 | } |
| 60 | else |
| 61 | { |
| 62 | return m_LastErrorDetail.c_str() ; |
| 63 | } |
| 64 | } |