KafkaBatcher.Behaviours.ErrorNotifier behaviour (kafka_batcher v1.0.1)

ErrorNotifier behaviour is used to report errors to external error-monitoring systems.

In the most base implementation it could just log errors.

Summary

Callbacks

Link to this callback

report(exception, options)

@callback report(
  exception :: Exception.t() | [type: String.t(), message: String.t()],
  options :: Keyword.t()
) :: :ok