Implement errorcode_to_string