tells you what error occured

- but has error immediately after due to malloc error