Improved error messages when macro call fails due to null-valued or omitted parameter.