PHP » GoLang |
login |
register |
about
|
GoLang cubrid_error_code
request it (400)
GoLang replacement for PHP's cubrid_error_code
[edit | history]
cubrid_error_code(PECL CUBRID >= 8.3.0) cubrid_error_code — Get error code for the most recent function call Description
int cubrid_error_code
( void
)
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. ParametersThis function has no parameters. Return ValuesError code of the error that occurred, or 0 (zero) if no error occurred.
ExamplesExample #1 cubrid_error_code() example
<?php The above example will output: Error facility: 4 Error code: -30015 Error msg: Some parameter not binded See Also
|
more
Recently updated
more
Most requested
more
Last requests
|