Change cl::Error to a reference in the catch clause