heiko-braun edited a comment on issue #1941: URL: https://github.com/apache/camel-k/issues/1941#issuecomment-800947951
Is there wat to distinguish types of errors that might trigger an error handler in the first place? Thinking about something like this: - Failure: External behavior is incorrect - Fault: Discrepancy in code that causes a failure. - Error: Human mistake that caused fault Some examples that come to my mind to further illustrate this: - Failure: Cannot connect to thirdparty system (i.e. transport level) - Fault: Exception raised within the Camel DSL execution (i.e. syntax error) - Error: Wrong credentials lead to authentication exceptions If we could tell the difference between types of errors, we could supply more tailored error handling strategies (i.e. multiple error handlers) Food for thought. ---------------------------------------------------------------- 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: us...@infra.apache.org