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:
group  Error group to get

Reimplemented in PSSLChannel, and PIndirectChannel.

Definition at line 662 of file pchannel.cxx.

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

Referenced by PSTUNClient::GetNatType().

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


Generated by  Doxygen 1.6.0   Back to index