added support for error handling middlewares
added support for error handling middlewares

ybogdanov/node-sync,kin9puppy/node-sync,phisixersai/node-sync,kin9puppy/node-sync,kin9puppy/node-sync,kin9puppy/node-sync,myteksi/node-sync