# Class QErrorFormatting

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

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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