convere rrors to strings