FireDAC.Stan.Error.EFDDBEngineException.Errors

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Errors[Index: Integer]: TFDDBError read GetErrors; default;

C++

__property TFDDBError* Errors[int Index] = {read=GetErrors/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Stan.Error.pas
FireDAC.Stan.Error.hpp
FireDAC.Stan.Error EFDDBEngineException

Description

Lists the entire FireDAC/DBMS error, warning, or message collection.

Use the Errors property to read TFDDBError objects.

Each object corresponds to an error, warning, or message returned by a DBMS. In many cases, there is only one object, though some DBMSs, such as Microsoft SQL Server, return several messages.

The first error has an index value of 0. The last error has an index value of ErrorCount-1. The property is the default array property, therefore you can avoid using it.

See Also