Forum und email

ifx_errormsg

(No version information available, might be only in CVS)

ifx_errormsg — 直近の Informix コールのエラーメッセージを返す

説明

string ifx_errormsg ([ int $errorcode ] )

直近の Informix エラーに関する Informix エラーメッセージを返します。

パラメータ

errorcode

指定すると、指定したコードに対応するエラーメッセージを返します。

返り値

エラーメッセージを文字列で返します。

Example#1 ifx_errormsg() の例

printf("%s\n<br>", ifx_errormsg(-201));

参考