Capture error situation