Class QErrorFormatting

java.lang.Object
com.io7m.quarrel.core.QErrorFormatting

public final class QErrorFormatting extends Object
Standard functions to format errors.
  • Method Details

    • format

      public static void format(QLocalizationType localization, com.io7m.seltzer.api.SStructuredErrorType<?> error, Consumer<String> consumer)
      Format the given error, passing the formatted message to the given consumer.
      Parameters:
      localization - The localizer
      error - The error
      consumer - The consumer