Added error output to the parsing operation.