BoopErrorTracker.Config (BoopErrorTracker v1.1.0)

Copy Markdown View Source

Resolved :boop_error_tracker configuration.

Summary

Functions

Reads the application environment into a struct.

Types

actions()

@type actions() ::
  [Boop.Event.action()]
  | (error :: map(), occurrence :: map() | nil -> [Boop.Event.action()])

t()

@type t() :: %BoopErrorTracker.Config{
  actions: actions(),
  enabled: boolean(),
  environment: String.t() | nil,
  error_tracker_url: String.t() | nil,
  in_app: [atom()] | nil,
  level: Boop.Event.level(),
  notify_on: [trigger()],
  source: String.t(),
  tags: map(),
  throttle: non_neg_integer()
}

trigger()

@type trigger() :: :new | :unresolved | :occurrence

Functions

resolve()

@spec resolve() :: t()

Reads the application environment into a struct.