Package com.io7m.smfj.parser.api

## Interface SMFParserEventsErrorType

- All Known Subinterfaces:
    `SMFFCopierType`, `SMFMemoryMeshProducerType`, `SMFParserEventsBodyType`, `SMFParserEventsDataAttributesNonInterleavedType`, `SMFParserEventsDataAttributeValuesType`, `SMFParserEventsDataMetaType`, `SMFParserEventsDataTrianglesType`, `SMFParserEventsHeaderType`, `SMFParserEventsType`
  All Known Implementing Classes:
    `CommandProbe`, `SMFFCopier`, `SMFMemoryMeshProducer`, `SMFParserEventsBodyIgnoringReceiver`, `SMFParserEventsDataAttributesNonInterleavedIgnoringReceiver`, `SMFParserEventsDataAttributeValuesIgnoringReceiver`, `SMFParserEventsDataTrianglesIgnoringReceiver`, `SMFParserEventsHeaderIgnoringReceiver`

      public interface SMFParserEventsErrorType

  A receiver of parse error/warning events.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onError​(SMFErrorType e)` | An error has occurred.
    `void` | `onWarning​(SMFWarningType w)` | An error has occurred of a severity low enough that it should just be considered a warning.

- - ### Method Detail

    - #### onError

          void onError​(SMFErrorType e)

      An error has occurred. Parsing will continue but the file as a whole must be considered invalid.
      Parameters:
        `e` - The error

    - #### onWarning

          void onWarning​(SMFWarningType w)

      An error has occurred of a severity low enough that it should just be considered a warning.
      Parameters:
        `w` - The warning