Set stream status.
Source position: objects.pp line 341
procedure TStream.Error( |
Code: Integer; |
Info: Integer |
); virtual; |
Error sets the stream's status to Code and ErrorInfo to Info. If the StreamError procedural variable is set, Error executes it, passing Self as an argument.
This method should not be called directly from a program. It is intended to be used in descendent objects.
None.