Handle err objects