PHP » GoLang |
login |
register |
about
|
GoLang cubrid_error_code_facility
request it (430)
GoLang replacement for PHP's cubrid_error_code_facility
[edit | history]
PHP cubrid_error_code_facilityPHP original manual for cubrid_error_code_facility [ show | php.net ]cubrid_error_code_facility(PECL CUBRID >= 8.3.0) cubrid_error_code_facility — Get the facility code of error Description
int cubrid_error_code_facility
( void
)
The cubrid_error_code_facility() function is used to get the facility code (level in which the error occurred) from the error code of the error that occurred during the API execution. Usually, you can get the error code when API returns false as its return value. ParametersThis function has no parameters. Return ValuesFacility code of the error code that occurred: CUBRID_FACILITY_DBMS, CUBRID_FACILITY_CAS, CUBRID_FACILITY_CCI, CUBRID_FACILITY_CLIENT
ExamplesExample #1 cubrid_error_code_facility() example
<?php The above example will output: Error facility: 1 Error code: -493 Error msg: Syntax: In line 1, column 15 before END OF STATEMENT Syntax error: unexpected 'unknown' See Also
|
more
Recently updated
more
Most requested
more
Last requests
|