cubrid_error_code
PECL CUBRID >= 8.3.0
cubrid_error_code - Get error code for the most recent function call
Manual
cubrid_error_code(
): int
The cubrid_error_code function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error code when API returns false as its return value.
Parameters
This function has no parameters.
Return Values
Error code of the error that occurred, or 0 (zero) if no error occurred.