JDatabase::getErrorNum

Gets the error number from the database connection.