System.Error

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Error(errorCode: TRuntimeError);

Properties

Type Visibility Source Unit Parent
procedure public System.pas System System

Description

Error is used to generate a run-time exception.

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

See Also

Code Examples