Better error extraction.