feat(parser): Better error messages for bad functions.