omkar-foss commented on code in PR #65423:
URL: https://github.com/apache/airflow/pull/65423#discussion_r3142240583


##########
airflow-core/src/airflow/exceptions.py:
##########
@@ -45,6 +45,23 @@
     class AirflowException(Exception):  # type: ignore[no-redef]
         """Base exception for Airflow errors."""
 
+    class AirflowEnumeratedException(Exception):

Review Comment:
   Nice, then I'll make this generic by supporting raises from any exception 
class, so any exception raised with an error_code will use error mapping. No 
AirflowEnumeratedException required (cc @potiuk in case you've any inputs here).



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to