Wrapped parse_error call in a try-catch