vcl-dxcloudstorage-dot-tdxcloudstorage-aa10b6da.md
The cloud storage error event type.
TErrorEvent = procedure(Sender: TObject; AErrorObject: TObject) of object;
| Name | Type | Description |
|---|---|---|
| Sender | TObject |
The cloud storage component where an online file operation error has occurred.
| | AErrorObject | TObject |
A container populated with error information.
|
Use the Sender parameter to access the cloud storage component where an online file operation has occurred. To access all public API members within a TErrorEvent event handler, cast the parameter value to the TdxCloudStorage class.
The AErrorObject parameter returns a data structure populated with information on an occurred error. Cast the parameter value to the actual error type to access the error information. For instance, AErrorObject returns a TdxJSONObject object populated with information on an occurred error (such as an invalid server response, an absent access permission, etc.) for Google Drive and Microsoft OneDrive data providers.
The TdxCloudStorage.OnError event references the TErrorEvent nested procedural type.
See Also
TdxCustomAuthorizationAgent.TErrorEvent Procedural Type
TcxSchedulerWebServiceStorage.TProviderErrorEvent Procedural Type