added function to print the type of MOAB failure (moab_printer)