private void processErrors(@Nonnull Collection<? extends Error> errors, @Nonnull ProblemLevel level, @Nonnull ProblemPhase phase) {
		for (Error error : errors) {
			Location location = error.getLocation();
			int line = location == null ? 1 : location.line();
			int start = location == null ? 1 : location.column();
			int length = location == null ? 1 : location.length();
			Problem problem = new Problem(line, start, length, level, phase, error.getMessage());
			problemTracking.add(problem);

			// REMOVE IS TRACING PARSER ERRORS
			/*
			Throwable trace = new Throwable();
			trace.setStackTrace(error.getInCodeSource());
			logger.trace("Assembler error", trace);
			System.err.println(error);
			*/
		}
		FxThreadUtil.run(() -> {
			if (!errors.isEmpty())
				editor.redrawParagraphGraphics();
		});
	}
Add the given errors to {@link #problemTracking} and refresh the UI.

@param errors
		Problems to add.
@param level
		Severity level of problems.
@param phase
		Phase the problems belong to.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/assembler/AssemblerPane.java