| [Overview][Constants][Types][Classes][Procedures and functions][Variables] | 
Set error code.
Source position: objects.pp line 419
| procedure TCollection.Error( | 
| Code: Integer; | 
| Info: Integer | 
| ); virtual; | 
Error is called by the various TCollection methods in case of an error condition. The default behaviour is to make a call to RunError with an error of 212-Code.
This method can be overridden by descendent objects to implement a different error-handling.
| 
 | Abstract error handler. |