add error handler for in-API errors
add category member function and associated Rd file.
update the wiki_diff Rd file