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

Defines a callback to be used by custom notifiers

Link to this section Summary

Link to this section Callbacks

Link to this callback

notify(%BoomNotifier.ErrorInfo{}, keyword)

View Source

Specs

notify(
  %BoomNotifier.ErrorInfo{
    action: term(),
    controller: term(),
    metadata: term(),
    name: term(),
    occurrences: 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()}