Allow apps to use their errorHandler middleware