ErrorHandler middleware was marked as final but introduces a new public method (attachListener) that was not declared in MiddlewareInterface. This makes ErrorHandler not mockable and hard to use in tests.
This is similar to #144 and requires removing final keyword or creating an interface for ErrorHandler.
ErrorHandler middleware was marked as final but introduces a new public method (attachListener) that was not declared in MiddlewareInterface. This makes ErrorHandler not mockable and hard to use in tests.
This is similar to #144 and requires removing final keyword or creating an interface for ErrorHandler.