TdxCustomAuthorizationAgent.TErrorEvent Type
The authorization agent error event type.
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
Sender | TObject | An authorization agent that failed to authorize in an online account. |
AError |
TObject | A container populated with error information. |
#Remarks
The Sender
parameter provides access to the agent that failed to authorize in an online account. To access the agent’s class members, cast the parameter value to the corresponding TdxCustomAuthorizationAgent class descendant. Call the Sender
.ClassType function or use other RTTI functionality to identify the actual authorization agent type.
The AErrorObject
parameter returns a data structure that contains information on an error. Cast the parameter to the actual error object type to obtain error information. The currently implemented authorization agent components return a populated TdxJSONObject
object if an error occurs during an attempt to authorize an agent in an online account.
#Direct TdxCustomAuthorizationAgent.TErrorEvent Type Reference
The TdxCustomAuthorizationAgent.OnError event references the TErrorEvent
nested procedural type.