Throwable::getCode
Throwable::getCode
Gets the exception code
int **Throwable::getCode**
Returns the error code associated with the thrown object.
Returns the exception code as in
but possibly as other type in
descendants (for example as
in ).
int``Exception``Exception``string``PDOException
Exception::getCode