RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Error Function

Error is used to generate a run-time exception.

Pascal
procedure Error(errorCode: TRuntimeError);
C++
Error(TRuntimeError errorCode);

System

Error should be invoked when you want to generate an exception. errorCode defines the type of error to be reported. 

 

TRunTimeError

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!