Raise error when parsing function decorators