Move handle errors code in file 'src/core/handleErrors'
Merge branch 'master' into develop-user-model

Conflicts:
	index.js