Report the error for the supplied error code that is assumed to occur within the named function.

Return TypeFunction nameArguments
hzEcodehzerr(hzEcode,const char*,)

Declared in file: hzProcess.h
Defined in file : hzError.cpp

Function Logic:

0:START 1:items fmt items items items items pLog 2:unknown 3:items 4:unknown 5:items 6:items 7:Return eError

Function body:

hzEcode hzerr (hzEcode eError)const char* va_alist, 
{
   //  Report the error for the supplied error code that is assumed to occur within the named function.
   //  
   //  Arguments: 1) eError  Error code
   //     2) va_alist Variable argument message
   //  
   //  Returns: Enum error code as supplied
   va_list     ap1 ;       //  Variable arguments list
   const char* fmt ;       //  Format control string
   hzChain     E ;         //  Error chain
   hzLogger*   pLog ;      //  Output logfile
   //  Do the args
   va_start(ap1, va_alist) ;
   fmt = va_alist ;
   _makeErrmsg(E, HZ_ERROR, eError) ;
   E._vainto(fmt, ap1) ;
   va_end(ap1) ;
   E.AddByte(CHAR_NL) ;
   pLog = GetThreadLogger() ;
   if (!pLog)
       std::cerr << E ;
   else
   {
       if (pLog->IsOpen())
           pLog->Out(E) ;
       else
           std::cerr << E ;
   }
   return eError ;
}