session_pgsql_get_error

(PECL session_pgsql SVN)

session_pgsql_get_errorReturns number of errors and last error message

説明

session_pgsql_get_error ([ bool $with_error_message = FALSE ] ) : array

Get the number of errors and optional the error messages.

パラメータ

with_error_message

Set to TRUE the literal error message for each error is also returned.

返り値

The number of errors are returned as array.

参考