Internet Direct (Indy)
Home
PreviousUpNext
EIdSocketError.CreateError Constructor

Constructor for the object instance.

Pascal
constructor CreateError(
    const AErr: Integer; 
    const AMsg: string
); virtual;
Parameters 
Description 
AErr 
Error number for the socket exception.
 
AMsg 
Message text for the socket exception. 

CreateError is a virtual constructor for the object instance. 

CreateError calls the inherited constructor using the value in AMsg as the content of the exception message. CreateError also sets the value in the LastError property to the value specified in AErr.

EIdSocketError.LastError

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.