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 callSYNOPSISstring cubrid_error_msg (void )DESCRIPTIONThe 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.PARAMETERSThis function has no parameters.RETURN VALUESError message that occurred.EXAMPLESExample #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 valueSEE ALSOcubrid_error_code(3), cubrid_error_code_facility(3). PHP Documentation Group CUBRID_ERROR_MSG(3)
Related Man Pages |
---|
cubrid_errno(3) - php |
cubrid_error(3) - php |
cubrid_error_code(3) - php |
cubrid_error_code_facility(3) - php |
cubrid_rollback(3) - php |
Similar Topics in the Unix Linux Community |
---|
Iplanet Error |
Runtime Error... |
Error during Sco Unix boot |
Script Error if ... then |
Sense Key: Media Error |