Give better feedback when errors occur within custom filter functions