BoomNotifier.Notifier behaviour (boom_notifier v0.3.0) View Source

Defines a callback to be used by custom notifiers

Link to this section Summary

Link to this section Callbacks

Specs

notify(
  [
    %ErrorInfo{
      action: term(),
      controller: term(),
      metadata: term(),
      name: term(),
      reason: term(),
      request: term(),
      stack: term(),
      timestamp: term()
    }
  ],
  keyword(String.t())
) :: no_return()
Link to this callback

validate_config(keyword)

View Source (optional)

Specs

validate_config(keyword(String.t())) :: :ok | {:error, String.t()}