Use errors in custom middleware #1198
-
Hey, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi. |
Beta Was this translation helpful? Give feedback.
-
That means: |
Beta Was this translation helpful? Give feedback.
That means:
I need to implement the interface IForwarderErrorFeature and can then set / get it in my middleware to look whether there was are an exception or not?
Does yarp generate this also this way? I know that HttpForwarder generate this, but I only use middleware.
My target is, to react on any exception / error that can happen, custom or yarp. On the best way.