FireDAC.Stan.Error.TFDDBError.Kind
Delphi
property Kind: TFDCommandExceptionKind read FKind write FKind;
C++
__property TFDCommandExceptionKind Kind = {read=FKind, write=FKind, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Stan.Error.pas FireDAC.Stan.Error.hpp |
FireDAC.Stan.Error | TFDDBError |
Description
Returns a DBMS-independent error kind.
Use the Kind property to get a DBMS-independent error kind. For example, for the Oracle ORA-00942 "Table or view does not exist" error, Kind is equal to ekObjNotExists
.
Also, you can use the ErrorCode property value to use DBMS-specific error code. Note that Kind is much more limited in the error condition description than ErrorCode.