mpl_translate_error function

Converts a numeric error code to human-readable format