Rename onError to onErrors