The following functions are defined for translating error codes and type codes into strings:
hc_decode_hcerr
hc_decode_hc_type