use thread specific error string