System.Classes.TStream.WriteError
Delphi
procedure WriteError; virtual;
C++
virtual void __fastcall WriteError();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TStream |
Description
WriteError is called by the stream and raises the EWriteError exception when a stream fails to execute a stream writing operation. The exception message is "Stream write error". If the stream Capabilities contains stcOSErrorInfo, an OS error description is appended to the message.