php man page for cubrid_error_msg

Query: cubrid_error_msg

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_version(3) - php
cubrid_pconnect(3) - php
cubrid_col_get(3) - php
cubrid_error_msg(3) - php
cubrid_set_db_parameter(3) - php
Similar Topics in the Unix Linux Community
Error message
Error msg displayed in SCO server
Excluding certain paras from a file
Error when loading
shrinking filesystem error