You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/28 12:46:15 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #8596: Add Local Filesystem Secret Backend (v1-10)

kaxil commented on a change in pull request #8596:
URL: https://github.com/apache/airflow/pull/8596#discussion_r416582904



##########
File path: airflow/exceptions.py
##########
@@ -117,3 +121,34 @@ class DagConcurrencyLimitReached(AirflowException):
 
 class TaskConcurrencyLimitReached(AirflowException):
     """Raise when task concurrency limit is reached"""
+
+
+file_syntax_error = namedtuple('FileSyntaxError', 'line_no message')
+"""Information about a single error in a file."""
+
+
+class AirflowFileParseException(AirflowException):
+    """
+    Raises when connection or variable file can not be parsed
+    :param msg: The human-readable description of the exception

Review comment:
       ```suggestion
       Raises when connection or variable file can not be parsed
   
       :param msg: The human-readable description of the exception
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org