Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit middlewareError when on middleware error.
Now it's possible to pass an Error object to next() and have it handled in a custom way that's suitable to your application.
- Loading branch information