Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString PChannel::GetErrorText ( ErrorGroup  group = NumErrorGroups ) const [virtual, inherited]

Get error message description. Return a string indicating the error message that may be displayed to the user. The error for the last I/O operation in this object is used.

Returns:
Operating System error description string.
Parameters:
groupError group to get

Reimplemented in PSSLChannel, PIndirectChannel, and PSoundChannelWin32.

Definition at line 662 of file pchannel.cxx.

References PChannel::lastErrorCode, and PChannel::lastErrorNumber.

Referenced by PSTUNClient::GetNatType().

{
  return GetErrorText(lastErrorCode[group], lastErrorNumber[group]);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index