Error Event
Reports errors during one-time password (OTP) generation.
Syntax
typedef struct { int ErrorCode; String Description; } TsbxOTPClientErrorEventParams; typedef void __fastcall (__closure *TsbxOTPClientErrorEvent)(System::TObject* Sender, TsbxOTPClientErrorEventParams *e); __property TsbxOTPClientErrorEvent OnError = { read=FOnError, write=FOnError };
Remarks
This event is fired in case of exceptional conditions during generation of one-time passwords.
ErrorCode contains an error code and Description contains a textual description of the error.