Refined output parsing error-detection