Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.17.5 Ndb_cluster_connection::get_latest_error_msg()

Description.  If the most recent connection attempt by this Ndb_cluster_connection failed (as determined by calling get_latest_error()), this method provides an error message supplying information about the reason for the failure.

Signature. 

const char* get_latest_error_msg
    (
      void
    ) const

Parameters.  None.

Return value.  A string containing an error message describing a failure by Ndb_cluster_connection::connect(). If the most recent connection attempt succeeded, an empty string is returned.


User Comments
Sign Up Login You must be logged in to post a comment.