Throwable::getCode
例外コードを取得する
&reftitle.description;
public intThrowable::getCode
スローされたオブジェクトのエラーコードを返します。
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
例外コードを返します。
Exception の場合は int ですが、
その派生クラスでは別の型かもしれません
(たとえば PDOException の場合は string です)。
&reftitle.seealso;
Exception::getCode