fixed mistake in documentation (listener was "message", should be "error")