FireDAC.Stan.Error.TFDDBError
Delphi
TFDDBError = class(TObject)
C++
class PASCALIMPLEMENTATION TFDDBError : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Stan.Error.pas FireDAC.Stan.Error.hpp |
FireDAC.Stan.Error | FireDAC.Stan.Error |
Description
TFDDBError represents FireDAC/DBMS errors, warnings, and messages for the EFDDBEngineException exception class.
The TFDDBError object is a container for the information pertaining to a database error, warning or message. One or more TFDDBError objects are contained in the Errors property of the EFDDBEngineException object.
Each item is represented by the:
- Message - Actual error message. For the DBMS messages only Message property is used.
- ErrorCode - DBMS-specific error code.
- Kind - DBMS-independent error code and other properties.
- RowIndex - Index of failed rows in an Array DML operation, etc.
Some of the FireDAC drivers are implementing their own TFDDBError descendant classes. For example, Microsoft SQL Server driver implements the TFDMSSQLError class with four additional properties.