Then when there's error, `this.emit('error', err)`, in bonus we can try to call onError handler from options. All that will help a lot I think. This also should be done in core `base`'s `.use`, wanna PRs?
Then when there's error,
this.emit('error', err), in bonus we can try to call onError handler from options.All that will help a lot I think.
This also should be done in core
base's.use, wanna PRs?