bubble up exception to be cacthed on the error handler middleware