Implemented Error and genericError