Taragolis commented on issue #35644:
URL: https://github.com/apache/airflow/issues/35644#issuecomment-1816807072

   I've found some grey area of Public interface, but let's focus on Exceptions 
and current case. Many of the things point for the future improvements or 
clarifications.
   
   Maybe you could help me with this puzzle
   
   **Rule 1**. `AirflowTaskTimeout` it is internal part of core and should only 
use in the core because it might change behaviour of different part of Airflow
   **Rule 2**. Rule 1 should also apply to Community Providers
   **Rule 3**. However `AirflowTaskTimeout` actively uses in providers, so that 
mean catch `AirflowTaskTimeout` is intentional behaviour and it should be part 
of Public interface which is conflicts with Rule 1, or Rule 2 only exists in my 
head
   
   The same valid with `AirflowException`, in some circumstances use this 
exception may lead to catch some internal exceptions which should break 
something


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