3.2.1.6 ndb_logevent_get_latest_error()

Description.  This function retrieves the error code from the most recent error.

Note

You may prefer to use ndb_logevent_get_latest_error_msg() instead. See Section 3.2.1.7, “ndb_logevent_get_latest_error_msg()

Signature. 

int ndb_logevent_get_latest_error
    (
      const NdbLogEventHandle handle
    )

Parameters.  A log event handle.

Return value.  An error code.