Emit error event when error is passed to callback.

This will require applications listen to `error` events to avoid uncaught error exceptions.