RsiError * ErrorLogGet ( void   )  [inherited]

Description:
ErrorLogGet returns the next RsiError in the log.
Returns:
(RsiError*) An error.
Sample Code:
  // Turn off exceptions.
  axis->ThrowExcetpions(false)
   
  // Do something that will cause an error (zero acceleration).
  axis->MoveVelocity(0.0, 0.0);

   while( axis->ErrorLogCountGet() > 0 )
   {
    error = axis->ErrorLogGet();
    printf("Error is %s\n",error->text);
    printf("ErrorLogCount is %ld\n", axis->ErrorLogCountGet());
   }
See also:
ErrorLogCountGet
Examples:
errorLog.cpp, and SynqNetOk.cpp.