FireDAC.Phys.IBWrapper.TFDIBError
Delphi
TFDIBError = class(TFDDBError)
C++
class PASCALIMPLEMENTATION TFDIBError : public Firedac::Stan::Error::TFDDBError
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.IBWrapper.pas FireDAC.Phys.IBWrapper.hpp |
FireDAC.Phys.IBWrapper | FireDAC.Phys.IBWrapper |
Description
TFDDBError represents FireDAC/DBMS errors, warnings, and messages for the EFDDBEngineException exception class.
FireDAC.Phys.IBWrapper.TFDIBError inherits from FireDAC.Stan.Error.TFDDBError. All content below this line refers to FireDAC.Stan.Error.TFDDBError.
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.