====== SOMError ======
This call generates error message and terminates process if fatal error.
===== Syntax =====
void (*SOMError) (CORBA_long errorCode, const CORBA_char * fileName, CORBA_long lineNum);
===== Parameters =====
* errorCode ([[CORBA_long]]) - input : Error code.
* fileName ([[CORBA_char *]]) - input : Name of source file where error was occurred.
* lineNum ([[CORBA_long]]) - input : Line of source file where error occurred.
===== Return Code =====
None
===== Notes =====
SOMError is a global variable and can be replaced by user function
===== Example Code =====
#include
SOMError(SOM_Fatal(12), __FILE__, __LINE__);
===== See also =====
* [[en:docs:som:api:kernel:SOM_Assert]] Macro
* [[en:docs:som:api:kernel:SOM_Error]] Macro
* [[en:docs:som:api:kernel:SOM_Expect]] Macro
* [[en:docs:som:api:kernel:SOM_Test]] Macro
* [[en:docs:som:api:kernel:SOM_TestC]] Macro
* [[en:docs:som:api:kernel:SOM_WarnMsg]] Macro
* [[en:docs:som:api:kernel:SOM_FatalCode]] Macro
* [[en:docs:som:api:kernel:SOM_WarnCode]] Macro
* [[en:docs:som:api:kernel:SOM_IgnoreCode]] Macro
* [[en:docs:som:api:kernel:SOM_OkCode]] Macro
* [[en:docs:som:api:kernel:SOM_TemplateCode]] Macro
* [[en:docs:som:api:kernel:SOM_MsgCode]] Macro
* [[en:docs:som:api:kernel:SOM_TraceLevel]] Variable
* [[en:docs:som:api:kernel:SOM_AssertLevel]] Variable
* [[en:docs:som:api:kernel:SOM_WarnLevel]] Variable
{{page>en:templates:somkernel}}