cubrid_error_msg(3) php man page | unix.com

Man Page: cubrid_error_msg

Operating Environment: php

Section: 3

CUBRID_ERROR_MSG(3)							 1						       CUBRID_ERROR_MSG(3)

cubrid_error_msg - Get last error message for the most recent function call

SYNOPSIS
string cubrid_error_msg (void )
DESCRIPTION
The cubrid_error_msg(3) function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error mes- sage when API returns false as its return value.
PARAMETERS
This function has no parameters.
RETURN VALUES
Error message that occurred.
EXAMPLES
Example #1 cubrid_error_msg(3) example <?php $conn = cubrid_connect("localhost", 33000, "demodb"); if (!@cubrid_schema($conn, 100000)) { printf("Error facility: %d Error code: %d Error msg: %s ", cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg()); cubrid_disconnect($conn); exit; } ?> The above example will output: Error facility: 2 Error code: -10015 Error msg: Invalid T_CCI_SCH_TYPE value
SEE ALSO
cubrid_error_code(3), cubrid_error_code_facility(3). PHP Documentation Group CUBRID_ERROR_MSG(3)
Related Man Pages
cubrid_col_get(3) - php
cubrid_connect(3) - php
cubrid_error_code(3) - php
cubrid_error_msg(3) - php
cubrid_set_db_parameter(3) - php
Similar Topics in the Unix Linux Community
CC LInker Error UNIX Sun Solaris
Error msg displayed in SCO server
Error during Sco Unix boot
Error in scripts
shrinking filesystem error