(PHP 7)
Gets the exception code
abstract public int Throwable::getCode ( void )
Returns the error code associated with the thrown object.
Returns:
Returns the exception code as integer in Exception but possibly as other type in Exception descendants (for example as string in PDOException).
See also:
Please login to continue.