class DubboParser {

  @Nullable static String errorCode(Throwable error) {
    if (error instanceof RpcException) {
      return ERROR_CODE_NUMBER_TO_NAME.get(((RpcException) error).getCode());
    }
    return null;
  }

}