context is now an event emitter
examples/errors: change emit signature