code: @NotNull
  	public static JSONAPIDocument<?> createErrorDocument(Iterable<? extends Error> errors) {
  		JSONAPIDocument<?> result = new JSONAPIDocument();
  		result.errors = errors;
  		return result;
  	}
docs: Factory method for creating JSONAPIDocument that holds the Error object.
  
  <p>
  This method should be used in case error response is being built by the server side.
  </p>
  @param errors