ErrorMessageParser.bestErrorMessage(String fullErrorMessage) 方法
定义
Parse the fullErrorMessage from the IoTHub to find the root cause of the problem, after that, return a string with the best information about the issue
public static String bestErrorMessage(String fullErrorMessage)
参数
- fullErrorMessage
- String
is the full error message from the IoTHub
返回
String
a String with the best information extracted from the error message