(
        self, name: str, path: str, original_file_path: str, raw_sql: str,
    )
return UnparsedNode(
            name=name,
            resource_type=self.resource_type,
            path=path,
            original_file_path=original_file_path,
            root_path=self.project.project_root,
            package_name=self.project.project_name,
            raw_sql=raw_sql,
        )
If we hit an error before we've actually parsed a node, provide some
        level of useful information by attaching this to the exception.
If we hit an error before we've actually parsed a node, provide some
        level of useful information by attaching this to the exception.
If we hit an error before we ve actually parsed a node provide some level of useful information by attaching this to the exception .
def _create_error_node(
        self, name: str, path: str, original_file_path: str, raw_sql: str,
    ) -> UnparsedNode:
        """If we hit an error before we've actually parsed a node, provide some
        level of useful information by attaching this to the exception.
        """
        # this is a bit silly, but build an UnparsedNode just for error
        # message reasons
        return UnparsedNode(
            name=name,
            resource_type=self.resource_type,
            path=path,
            original_file_path=original_file_path,
            root_path=self.project.project_root,
            package_name=self.project.project_name,
            raw_sql=raw_sql,
        )
def _create_error_node ( self , name : str , path : str , original_file_path : str , raw_sql : str , ) -> UnparsedNode : # this is a bit silly, but build an UnparsedNode just for error # message reasons return UnparsedNode ( name = name , resource_type = self . resource_type , path = path , original_file_path = original_file_path , root_path = self . project . project_root , package_name = self . project . project_name , raw_sql = raw_sql , )