Changed the CL_ERR define to a type.