Root > Reference > All Types > TEurekaActionType

Type TEurekaActionType

Previous pageReturn to chapter overviewNext page   

Action kind for exception processing.

 

Unit

ETypes

 

Syntax

 

 

Members

atCollectedExceptionInfo

[after] Fired after collecting information about exception (building call stack)

atCollectingExceptionInfo

[before] Fired before collecting information about exception (building call stack)

atEurekaLogInitialized

[after] Fired immediately after EurekaLog was initialized (ExceptionLog7 unit). Exception info will be nil. CurrentEurekaLogOptions will be available.

atEurekaLogInitializing

[before] Fired before EurekaLog initializes (ExceptionLog7 unit). Exception info will be nil. Do not access CurrentEurekaLogOptions from event handler

atEventHandler

[after] Used only in OnExceptionError event - when user event handler raises exception; Retry is ignored

atExceptionHandled

[after] Fired after processing exception

atExceptionHandling

[before] Fired before processing exception

atGeneral

[after] Used only in OnExceptionError event - when exception processing fails; Retry is ignored

atRestarting

[before] Fired before application restarting

atSavedLogFile

[after] Fired after saving to bug report

atSavingLogFile

[before] Fired before saving to bug report

atSendCancelled

[notify] Fired when sending was cancelled

atSending

[before] Fired before sending bug report

atSent

[after] Fired after sending bug report

atShowedExceptionInfo

[after] Fired after showing error dialog

atShowingExceptionInfo

[before] Fired before showing error dialog

atTerminating

[before] Fired before application termination

 

Remarks

This is type of action which is used in OnExceptionAction event.

 

Most events can be divided into 2 groups:

"Before-like" actions, which are fired before event;
"After-like" actions, which are fired after event;

Those groups have different meaning in event handler with respect to AExecute argument.

"Before-like" actions: AExecute can allow or deny action;
"After-like" actions: AExecute sets execution status - success or not;

Basically, for most actions EurekaLog follow such pattern (pseudo-code):

 

Code (Delphi)

repeat

MakeCall := DoEventExceptionAction(... "before" ...);

if MakeCall then

Result := PerformAction

else

Result := Cancelled;

Result := DoEventExceptionAction(... "after" ...);

 

if Failed(Result) then

Retry := DoEventExceptionError(...)

 else

 Retry := False;

until not Retry;

 

See also




Send feedback... Build date: 2024-12-19
Last edited: 2024-12-19
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_etypes_teurekaactiontype.php