TCollection.Error

Set error code.

Declaration

Source position: objects.pp line 454

default 
  procedure Error(Code: Integer; Info: Integer);  Virtual;

Description

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.

See also

Name Description
Abstract Abstract error handler.