EurekaLog
Menu

EurekaLog 7 Manual

InternalErrorSet - EurekaLog 7 Documentation

Reports about internal EurekaLog error.

Unit

EBase

Syntax

procedure InternalErrorSet(

const AStage: String;

const AMsg: String = ''

);

Parameters

AStage [in]

Stage on which internal error occurred. Can be any string. Usually indicates function name or module name with init/done qualifier.

AMsg [in, optional]

Error message. Usually it's exception message, if it's available.

Remarks

Warning

Internal routine. Not for generic usage. Do not call it, if you're not EurekaLog developer.

Invokes error message about internal EurekaLog error and terminates the application.

Doesn't perform any real work. This is just a wrapper for _InternalError.

First step: stop execution under debugger (breakpoint).

Second step: log base error info (via OutputDebugString).

Third step: invoke _InternalError handler (if present).

Fourth step: terminate application.

This routine logs the following information:

• '[WARNING] EurekaLog internal error' static string/header.
• Stage
• Message
• ExceptAddr
• ErrorAddr
• GetLastError
• Exception class name (if applicable)
• Exception message (if applicable)

Examples

InternalErrorSet('EMain.Init');
procedure Funcenstein;
begin
 try
 // ...
 except
 on E: Exception do
 InternalErrorSet('Funcenstein', E.Message);
 end;
end;

See also



Send feedback... Build date: 2015-09-24
Last edited: 2015-09-24
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: http://www.eurekalog.com/help/eurekalog/topic_function_ebase_internalerrorset.php