Simple error handler middleware for express