FireDAC.Comp.UI.TFDGUIxErrorDialog
Delphi
TFDGUIxErrorDialog = class(TFDGUIxComponent, IFDGUIxErrorDialog)
C++
class PASCALIMPLEMENTATION TFDGUIxErrorDialog : public TFDGUIxComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Comp.UI.pas FireDAC.Comp.UI.hpp |
FireDAC.Comp.UI | FireDAC.Comp.UI |
Description
This dialog displays FireDAC exceptions.
Use TFDGUIxErrorDialog in FireDAC GUI applications to display FireDAC exceptions to the user. The dialog allows to browse multiple error items included in an exception.
TFDGUIxErrorDialog identifies:
- Error kind, native error code, erroneous DB object, and so on.
- Original SQL command and parameter values that led to an exception.
For that, the dialog hooks the TApplication.OnException event. To use the dialog, drop it on a form or a data module. All additional setups are optional.
TFDGUIxErrorDialog has forms and FMX implementations. Use the Provider property to select the desired implementation.
See Also
- Handling Errors
- FireDAC.Stan.Error.EFDDBEngineExceptionClass
- FireDAC.Comp.UI.TFDGUIxComponent.Provider