Basic error extraction