FireDAC.Comp.Script.TFDScript.TotalErrors

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
Unit: FireDAC.Comp.Script
Parent: TFDScript

Delphi

property TotalErrors: Integer read GetTotalErrors;

C++

__property int TotalErrors = {read=GetTotalErrors, nodefault};

Description

The number of exceptions raised.

Read the TotalErrors property to get the number of exceptions raised in the last ValidateStep, ValidateAll, ExecuteStep, ExecuteAll method call.

If the IgnoreError option is True, then exceptions will be hidden. Otherwise, the exceptions will be counted and shown in the user feedback. Also, if the BreakOnError option is True, then the script execution will be stopped after a first exception.

See Also