code: protected static String getString(List<Error> errorList) {
  		String exceptionDetails = "";
  		if (errorList != null) {
  			Iterator<Error> iter = errorList.iterator();
  			while (iter.hasNext()) {
  				Error error = iter.next();
  				StringBuilder sb = new StringBuilder();
  				sb.append("ERROR CODE:").append(error.getCode()).append(", ERROR MESSAGE:").append(error.getMessage()).append(", ERROR DETAIL:")
  						.append(error.getDetail());
  				/**
  				 * this was done as a result of adding Payment APIs; this wasn't
  				 * done before. so keep it consistent with V3 SDK (to preserve
  				 * the behaviour for V3) the null check is being done before adding it.
  				 */
  				if (error.getElement() != null) {
  					sb.append(", MORE ERROR DETAIL:").append(error.getElement());
  				}
  				sb.append("\r\n");
  				exceptionDetails = exceptionDetails + sb.toString();
  			}
  		}
  		return exceptionDetails;
  	}
docs: Method to get the error codes received from server as String message
  
  @param errorList
  @return