Jump to content

SOM Error

From EDM2
Revision as of 19:05, 10 October 2017 by Martini (talk | contribs) (Created page with "This macro reports an error condition. ==Syntax== <PRE> long errorCode; SOM_Error(errorCode); </PRE> ==Parameters== ; errorCode (long) : The integer error code for the er...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This macro reports an error condition.

Syntax

long    errorCode;
SOM_Error(errorCode);

Parameters

errorCode (long)
The integer error code for the error to be reported.

Return Code

void

Remarks

The SOM_Error macro invokes the SOMError error handling procedure with the specified error code, supplying the filename and line number where the macro was invoked. The default implementation of SOMError outputs a message containing the error code, filename, and line number. Additionally, if the last digit of the error code indicates a serious error (that is, value SOM_Fatal), the process is terminated.

Example Code


Related

Functions